Struct oxide_auth::frontends::simple::extensions::Extended[][src]

pub struct Extended<Inner, Extension> { /* fields omitted */ }
Expand description

An inner endpoint with simple extensions.

If the inner endpoint had any extension, it will simply never be provided to any flow and overwritten. Therefore, this is mainly useful for other endpoints that did not implement extensions by themselves such as frontends::simple::endpoint::Generic.

Implementations

Wrap an endpoint with a standard extension system.

Wrap an inner endpoint with a preconstructed extension instance.

A reference to the extension.

A mutable reference to the extension.

Trait Implementations

The error typed used as the error representation of each flow.

A registrar if this endpoint can access one. Read more

An authorizer if this endpoint can access one. Read more

An issuer if this endpoint can access one. Read more

Return the system that checks owner consent. Read more

Determine the required scopes for a request. Read more

Generate a prototype response. Read more

Wrap an error.

Wrap an error in the request/response types.

Get the central extension instance this endpoint. Read more

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.