Struct inth_oauth2::provider::Imgur
[−]
[src]
pub struct Imgur;
Imgur OAuth 2.0 provider.
See OAuth 2.0, Imgur.
Trait Implementations
impl Debug for Imgur
[src]
impl Clone for Imgur
[src]
fn clone(&self) -> Imgur
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 Imgur
[src]
impl PartialEq for Imgur
[src]
fn eq(&self, __arg_0: &Imgur) -> 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 Imgur
[src]
impl Provider for Imgur
[src]
type Lifetime = Refresh
The lifetime of tokens issued by the provider.
type Token = Bearer<Refresh>
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