Skip to main content

Module auth

Module auth 

Source

Structsยง

AuthCodeSession
AuthRequest

Constantsยง

AUTH_CODE_LENGTH ๐Ÿ”’
AUTH_CODE_LIFETIME ๐Ÿ”’
AUTH_REQUEST_LIFETIME

Functionsยง

validate_code_verifier ๐Ÿ”’
Validate code_verifier per RFC 7636 Section 4.1: must be 43-128 characters using only unreserved characters [A-Z] / [a-z] / [0-9] / โ€œ-โ€ / โ€œ.โ€ / โ€œ_โ€ / โ€œ~โ€.