Enum oxide_auth::endpoint::OwnerConsent[][src]

pub enum OwnerConsent<Response: WebResponse> {
    Denied,
    InProgress(Response),
    Authorized(String),
    Error(Response::Error),
}
Expand description

Answer from OwnerAuthorizer to indicate the owners choice.

Variants

Denied

The owner did not authorize the client.

InProgress(Response)

The owner has not yet decided, i.e. the returned page is a form for the user.

Tuple Fields of InProgress

0: Response
Authorized(String)

Authorization was granted by the specified user.

Tuple Fields of Authorized

0: String
Error(Response::Error)

An error occurred while checking authorization.

Tuple Fields of Error

0: Response::Error

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.