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 Request
Authenticated

Positively answer an authentication query.

Recovered(Option<Box<Grant>>)

Provide the queried refresh token.

Tuple Fields of Recovered

0: Option<Box<Grant>>
Extended

Provide extensions

Fields of Extended

access_extensions: Extensions

The grant extension

Issued(IssuedToken)

The token produced by the backend

Tuple Fields of Issued

0: IssuedToken
None

Advance without input as far as possible, or just retrieve the output again.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.