Enum oxide_auth::code_grant::accesstoken::Input [−][src]
pub enum Input<'req> {
Request(&'req dyn Request),
Authenticated,
Recovered(Option<Box<Grant>>),
Extended {
access_extensions: Extensions,
},
Issued(IssuedToken),
None,
}Expand description
Input injected by the executor into the state machine.
Variants
Request(&'req dyn Request)The request to be processed.
Tuple Fields of Request
0: &'req dyn RequestPositively answer an authentication query.
Provide the queried refresh token.
Provide extensions
Fields of Extended
access_extensions: ExtensionsThe grant extension
Issued(IssuedToken)The token produced by the backend
Tuple Fields of Issued
0: IssuedTokenAdvance without input as far as possible, or just retrieve the output again.