Skip to main content

Module oauth2

Module oauth2 

Source

Structs§

AuthorizationCode
AuthorizationGrant
Client
DeviceCodeGrant
Pkce
Session

Enums§

AuthorizationGrantStage
DeviceCodeGrantState
InvalidRedirectUriError
JwksOrJwksUri
SessionState

Functions§

generate_user_code
Generate a random user code for a device code grant.
normalize_user_code
Apply the Crockford Base32 decode mapping to a user code as typed by a user.