Struct telescope::web::services::auth::oauth2_providers::github::GitHubOauth[][src]

pub struct GitHubOauth;
Expand description

Zero sized type representing the GitHub OAuth2 identity provider.

Trait Implementations

The type of identity produced by this provider.

Name of this identity provider. See the documentation on the IdentityProvider trait for requirements. Read more

Get the client configuration for this Identity Provider.

Add the appropriate scopes for the OAuth authentication request.

Get the redirect URL for the associated client and build an HTTP response to take the user there. Saves the CSRF token in the process. Read more

Extract the response parameters from the callback request invoked by the provider’s authorization page. 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.

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

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.

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.

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