Struct inth_oauth2::provider::GitHub [] [src]

pub struct GitHub;

GitHub OAuth 2.0 provider.

See OAuth, GitHub Developer Guide.

Trait Implementations

impl Provider for GitHub

type Lifetime = Static

type Token = Bearer<Static>

fn auth_uri() -> &'static str

fn token_uri() -> &'static str

fn credentials_in_body() -> bool

Derived Implementations

impl Eq for GitHub

impl PartialEq for GitHub

fn eq(&self, __arg_0: &GitHub) -> bool

fn ne(&self, __arg_0: &GitHub) -> bool

impl Copy for GitHub

impl Clone for GitHub

fn clone(&self) -> GitHub

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for GitHub

fn fmt(&self, __arg_0: &mut Formatter) -> Result