Struct inth_oauth2::provider::GitHub
[−]
[src]
pub struct GitHub;
GitHub OAuth 2.0 provider.
Trait Implementations
impl Debug for GitHub
[src]
impl Clone for GitHub
[src]
fn clone(&self) -> GitHub
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for GitHub
[src]
impl PartialEq for GitHub
[src]
fn eq(&self, __arg_0: &GitHub) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for GitHub
[src]
impl Provider for GitHub
[src]
type Lifetime = Static
The lifetime of tokens issued by the provider.
type Token = Bearer<Static>
The type of token issued by the provider.
fn auth_uri() -> &'static str
The authorization endpoint URI. Read more
fn token_uri() -> &'static str
The token endpoint URI. Read more
fn credentials_in_body() -> bool
Provider requires credentials via request body. Read more