Skip to main content

AUTHORIZATION_CODE_TTL

Constant AUTHORIZATION_CODE_TTL 

Source
pub const AUTHORIZATION_CODE_TTL: Duration;
Expand description

How long an authorization code may be exchanged before it expires. RFC 6749 §4.1.2 asks for “a maximum authorization code lifetime of 10 minutes”; this is well inside that, since the code is minted only after consent has already been confirmed and exchange should follow immediately.