Skip to main content

Module auth

Module auth 

Source

Structsยง

AuthCodeSession
AuthRequest
A pending authorization request, kept from the authorize redirect until the completion that mints its code.

Constantsยง

AUTH_CODE_LENGTH ๐Ÿ”’
AUTH_CODE_LIFETIME ๐Ÿ”’
AUTH_REQUEST_LIFETIME

Functionsยง

local_unclaimed ๐Ÿ”’
Refuse a request the local branch has already claimed.
no_other_provider ๐Ÿ”’
Refuse a request bound to any provider other than provider.
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] / โ€œ-โ€ / โ€œ.โ€ / โ€œ_โ€ / โ€œ~โ€.