Struct oauth2::AuthorizationCode
[−]
[src]
pub struct AuthorizationCode(_);
Authorization code returned from the authorization endpoint.
Trait Implementations
impl Clone for AuthorizationCode
[src]
fn clone(&self) -> AuthorizationCode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for AuthorizationCode
[src]
fn eq(&self, __arg_0: &AuthorizationCode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthorizationCode) -> bool
[src]
This method tests for !=
.
impl SecretNewType<String> for AuthorizationCode
[src]
fn new(s: String) -> Self
[src]
Create a new AuthorizationCode
to wrap the given String
.
fn secret(&self) -> &String
[src]
Get the secret contained within this AuthorizationCode
.
Security Warning
Leaking this value may compromise the security of the OAuth2 flow.