Module kanidm_proto::oauth2
source · Expand description
Oauth2 RFC protocol definitions.
Structs§
- Request to introspect the identity of the account associated to a token.
- Response to an introspection request. If the token is inactive or revoked, only
active
will be set to the value offalse
. - An Access Token request. This requires a set of grant-type parameters to satisfy the request.
- The response for an access token
- An OAuth2 client redirects to the authorisation server with Authorisation Request parameters.
- An OIDC client redirects to the authorisation server with Authorisation Request parameters.
- Extensions for RFC 9068 Access Token
- The response to an OAuth2 rfc8414 metadata request
- The response to an OpenID connect discovery request https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata
- Request revocation of an Access or Refresh token. On success the response is OK 200 with no body.
Enums§
- Access token types, per IANA Registry - OAuth Access Token Types
- In response to an Authorisation request, the user may be prompted to consent to the scopes requested by the OAuth2 client. If they have previously consented, they will immediately proceed.
- Algorithms supported for token signatures. Prefers
ES256
Constants§
- How many seconds a device code is valid for.
- How often a client device can query the status of the token