Skip to main content

Module oauth_common

Module oauth_common 

Source

Structs§

PkceState
PKCE state container for OAuth2 authorization code flow.

Functions§

generate_pkce_state
Generate a new PKCE state with cryptographically random values.
parse_query_params
Parse URL query parameters into a BTreeMap.
random_base64url
Generate a cryptographically random base64url-encoded string.
url_decode
URL-decode a percent-encoded string.
url_encode
URL-encode a string using percent encoding (RFC 3986).