Liking cljdoc? Tell your friends :D

slipway.security.openid.authorization-code-flow


access-tokenclj

(access-token access-token-str)

As this login module is exclusively used in the direct Authorization Code Flow and this access token is intended for use in the same JVM as the ID token, we can rely on the proir ID token validation as being sufficient as they are both from the same source at the same point in time

As this login module is exclusively used in the direct Authorization Code Flow and this access token is intended for
use in the same JVM as the ID token, we can rely on the proir ID token validation as being sufficient as they are
both from the same source at the same point in time
sourceraw docstring

authenticatorclj

(authenticator
  config
  {:slipway.security.openid/keys [oidc-redirect-success oidc-redirect-error
                                  oidc-redirect-logout]
   :or {oidc-redirect-success OpenIdAuthenticator/J_SECURITY_CHECK}})
source

expirationclj

(expiration id-token
            access-token
            {:slipway.security.openid.jwt/keys [user-expiration-source]
             :or {user-expiration-source :access-token}})
source

login-moduleclj

(login-module openid-config opts)

This roles-service is exclusively for OpenID Connect (OIDC) direct Authorization Code flow via the Token endpoint, that is how Jetty implements OIDC authentication interactions. In that flow you can rely on TLS (HTTPS) to authenticate the issuer instead of verifying the JWT signature. While that normally only applies to the ID token, in our case the Access token is intended for local use inside this client service JVM, and so the same logic applies.

This roles-service is exclusively for OpenID Connect (OIDC) direct Authorization Code flow via the Token endpoint,
that is how Jetty implements OIDC authentication interactions.
In that flow you can rely on TLS (HTTPS) to authenticate the issuer instead of verifying the JWT signature.
While that normally only applies to the ID token, in our case the Access token is intended for local use inside this
client service JVM, and so the same logic applies.
sourceraw docstring

rolesclj

(roles id-token
       access-token
       {:slipway.security.openid.jwt/keys [user-roles-source user-roles-path]
        :or {user-roles-source :access-token user-roles-path ["roles"]}})
source

user-stateclj

(user-state id-token access-token response opts)
source

user-state-fnclj

(user-state-fn opts)
source

usernameclj

(username id-token
          access-token
          {:slipway.security.openid.jwt/keys [user-id-source user-id-path]
           :or {user-id-source :id-token user-id-path ["sub"]}})
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close