Skip to main content

Module oauth

Module oauth 

Source

Structs§

OAuthAccountInfo
A linked OAuth account for a user — provider name, provider user id, and email.
OAuthStateInfo
Stored state returned when validating an OAuth callback.
OAuthUserInfo
Information returned by a provider after fetching user info.

Traits§

OAuthProvider
Abstraction over an OAuth2 authorization code flow provider.

Functions§

generate_pkce_verifier
Generate a random PKCE code verifier (43 chars, base64url-unpadded).
pkce_challenge
Derive the S256 PKCE code challenge from a verifier.