Struct oauth2_client::authorization_code_grant::access_token_endpoint::AccessTokenEndpoint [−][src]
pub struct AccessTokenEndpoint<'a, SCOPE> where
SCOPE: Scope, {
pub code_verifier: Option<CodeVerifier>,
// some fields omitted
}
Fields
code_verifier: Option<CodeVerifier>
Implementations
pub fn new(
provider: &'a (dyn ProviderExtAuthorizationCodeGrant<Scope = SCOPE> + Send + Sync),
code: Code
) -> Self
Trait Implementations
impl<'a, SCOPE> Endpoint for AccessTokenEndpoint<'a, SCOPE> where
SCOPE: Scope + Serialize + DeserializeOwned,
impl<'a, SCOPE> Endpoint for AccessTokenEndpoint<'a, SCOPE> where
SCOPE: Scope + Serialize + DeserializeOwned,
type ParseResponseOutput = Result<RES_SuccessfulBody<SCOPE>, RES_ErrorBody>
fn parse_response(
&self,
response: Response<Body>
) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>
Auto Trait Implementations
impl<'a, SCOPE> !RefUnwindSafe for AccessTokenEndpoint<'a, SCOPE>
impl<'a, SCOPE> Send for AccessTokenEndpoint<'a, SCOPE>
impl<'a, SCOPE> Sync for AccessTokenEndpoint<'a, SCOPE>
impl<'a, SCOPE> Unpin for AccessTokenEndpoint<'a, SCOPE>
impl<'a, SCOPE> !UnwindSafe for AccessTokenEndpoint<'a, SCOPE>
Blanket Implementations
Mutably borrows from an owned value. Read more