pub struct GrantSelector<T> { /* private fields */ }

Implementations

Create a new instance for token flow.

See

Microsoft Token Flow Authorizaiton

Example
let open_id = oauth.build().token_flow();

Create a new instance for code flow.

See

Microsoft Code Flow Authorizaiton

Example
let open_id = oauth.build().code_flow();

Create a new instance for the implicit grant.

See

Implicit Grant for OAuth 2.0

Example
let open_id = oauth.build().implicit_grant();

Create a new instance for authorization code grant.

See

Authorization Code Grant for OAuth 2.0

Example
let open_id = oauth.build().authorization_code_grant();

Create a new instance for the open id connect grant.

See

Microsoft Open ID Connect

Example
let open_id = oauth.build().open_id_connect();

Create a new instance for the open id connect grant.

See

Microsoft Client Credentials

Example
let open_id = oauth.build().client_credentials();

Create a new instance for the resource owner password credentials grant.

See

Microsoft Resource Owner Password Credentials

Example
let open_id = oauth.build().resource_owner_password_credentials();

Create a new instance for token flow.

See

Microsoft Token Flow Authorizaiton

Example
let open_id = oauth.build().token_flow();

Create a new instance for code flow.

See

Microsoft Code Flow Authorizaiton

Example
let open_id = oauth.build().code_flow();

Create a new instance for the implicit grant.

See

Implicit Grant for OAuth 2.0

Example
let open_id = oauth.build().implicit_grant();

Create a new instance for authorization code grant.

See

Authorization Code Grant for OAuth 2.0

Example
let open_id = oauth.build().authorization_code_grant();

Create a new instance for the open id connect grant.

See

Microsoft Open ID Connect

Example
let open_id = oauth.build().open_id_connect();

Create a new instance for the open id connect grant.

See

Microsoft Client Credentials

Example
let open_id = oauth.build().client_credentials();

Create a new instance for the resource owner password credentials grant.

See

Microsoft Resource Owner Password Credentials

Example
let open_id = oauth.build().resource_owner_password_credentials();

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more