Trait ProviderExtAuthorizationCodeGrant
Source pub trait ProviderExtAuthorizationCodeGrant: Provider + DynClone {
// Required methods
fn redirect_uri(&self) -> Option<&RedirectUri>;
fn authorization_endpoint_url(&self) -> &Url;
// Provided methods
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>>> { ... }
}
Formats the value using the given formatter.
Read more