Trait oauth2_client::authorization_code_grant::provider_ext::ProviderExtAuthorizationCodeGrant[][src]

pub trait ProviderExtAuthorizationCodeGrant: Provider + DynClone {
    fn redirect_uri(&self) -> Option<&RedirectUri>;
fn authorization_endpoint_url(&self) -> &Url; fn oidc_support_type(
        &self
    ) -> Option<ProviderExtAuthorizationCodeGrantOidcSupportType> { ... }
fn pkce_support_type(
        &self
    ) -> Option<ProviderExtAuthorizationCodeGrantPkceSupportType> { ... }
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>> { ... }
fn authorization_request_query_extra(&self) -> Option<Map<String, Value>> { ... }
fn authorization_request_query_serializing(
        &self,
        _query: &AuthorizationRequestQuery<<Self as Provider>::Scope>
    ) -> Option<Result<String, Box<dyn Error + Send + Sync + 'static>>> { ... }
fn authorization_request_url_modifying(&self, _url: &mut Url) { ... }
fn access_token_request_body_extra(
        &self,
        _body: &AccessTokenRequestBody
    ) -> Option<Map<String, Value>> { ... }
fn access_token_request_rendering(
        &self,
        _body: &AccessTokenRequestBody
    ) -> Option<Result<Request<Body>, Box<dyn Error + Send + Sync + 'static>>> { ... }
fn access_token_response_parsing(
        &self,
        _response: &Response<Body>
    ) -> Option<Result<Result<AccessTokenResponseSuccessfulBody<<Self as Provider>::Scope>, AccessTokenResponseErrorBody>, Box<dyn Error + Send + Sync + 'static>>> { ... } }

Required methods

Provided methods

Trait Implementations

Formats the value using the given formatter. Read more

Implementors