Enum oxide_auth::code_grant::resource::Input [−][src]
pub enum Input<'req> {
Recovered(Option<Grant>),
Scopes(&'req [Scope]),
Request {
request: &'req dyn Request,
},
None,
}Expand description
An input injected by the executor into the state machine.
Variants
Provide the queried (bearer) token.
Determine the scopes of requested resource.
Provides simply the original request.
Fields of Request
request: &'req dyn RequestThe request
Advance without input as far as possible, or just retrieve the output again.
Trait Implementations
Auto Trait Implementations
impl<'req> !RefUnwindSafe for Input<'req>
impl<'req> !UnwindSafe for Input<'req>
Blanket Implementations
Mutably borrows from an owned value. Read more