## Generated by Codox

# Youyesyet 0.2.2-SNAPSHOT

# youyesyet.oauth

Handle oauth with multiple authenticating authorities.

### auth-redirect-uri

`(auth-redirect-uri request-token authority)`

Gets the URI the user should be redirected to when authenticating.

view source

### authority!

TODO: write docs

view source

### fetch-access-token

`(fetch-access-token request_token authority)`

TODO: write docs

view source

### fetch-request-token

`(fetch-request-token request auth)``(fetch-request-token request)`

Fetches a request token from the authority implied by this `request`.

view source

### get-authorities

`(get-authorities _)`

Fetch the authorities from the database and return a map of them.

view source

### oauth-callback-uri

`(oauth-callback-uri {:keys [headers]})`

Generates the oauth request callback URI.

view source