Skip to main content

Module token

Module token 

Source

Structsยง

TokenRequest ๐Ÿ”’

Functionsยง

token_authorization_code ๐Ÿ”’
token_error_response ๐Ÿ”’
RFC 6749 ยง5.2: map error to correct HTTP status and OAuth2 error code. Client-side errors (invalid grant, bad params) โ†’ 400 invalid_grant. Server-side errors โ†’ 500 server_error with sanitized message.
token_refresh ๐Ÿ”’
token_route ๐Ÿ”’