# ol.llx.ai.oauth

_platforms: clj, cljs_

## register-oauth-provider!

### clj

_platforms: clj_

```clojure
(register-oauth-provider! provider)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L13-L15)

### cljs

_platforms: cljs_

```clojure
(register-oauth-provider! provider)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L13-L15)

---

## get-oauth-provider

### clj

_platforms: clj_

```clojure
(get-oauth-provider provider-id)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L17-L19)

### cljs

_platforms: cljs_

```clojure
(get-oauth-provider provider-id)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L17-L19)

---

## get-oauth-providers

### clj

_platforms: clj_

```clojure
(get-oauth-providers)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L21-L23)

### cljs

_platforms: cljs_

```clojure
(get-oauth-providers)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L21-L23)

---

## refresh-oauth-token

### clj

_platforms: clj_

```clojure
(refresh-oauth-token provider-id credentials)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L25-L27)

### cljs

_platforms: cljs_

```clojure
(refresh-oauth-token provider-id credentials)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L25-L27)

---

## get-oauth-api-key

### clj

_platforms: clj_

```clojure
(get-oauth-api-key provider-id credentials-by-provider)
(get-oauth-api-key provider-id credentials-by-provider opts)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L29-L33)

### cljs

_platforms: cljs_

```clojure
(get-oauth-api-key provider-id credentials-by-provider)
(get-oauth-api-key provider-id credentials-by-provider opts)
```

[source,window=_blank](https://github.com/outskirtslabs/llx/blob/main/src/ol/llx/ai/oauth.cljc#L29-L33)
