Enum oxide_auth::code_grant::authorization::Input[][src]

pub enum Input<'machine> {
    Bound {
        request: &'machine dyn Request,
        bound_client: BoundClient<'static>,
    },
    Extended(Extensions),
    Negotiated {
        pre_grant: PreGrant,
        state: Option<String>,
    },
    Finished,
    None,
}
Expand description

Input injected by the executor into the state machine.

Variants

Bound

Binding of the client succeeded

Fields of Bound

request: &'machine dyn Request

Request is given again to make some additional check that need bound client to run

bound_client: BoundClient<'static>

The bound client

Extended(Extensions)

Extension succeeded

Tuple Fields of Extended

0: Extensions
Negotiated

Negotiation done

Fields of Negotiated

pre_grant: PreGrant

The pre grant from the negotiation

state: Option<String>

State from the request

Finished

We’re done

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.