pub struct AuthorizationServerMetadata {Show 31 fields
pub issuer: String,
pub authorization_endpoint: Option<String>,
pub token_endpoint: Option<String>,
pub jwks_uri: Option<String>,
pub registration_endpoint: Option<String>,
pub scopes_supported: Option<Vec<String>>,
pub response_types_supported: Vec<String>,
pub response_modes_supported: Option<Vec<String>>,
pub grant_types_supported: Option<Vec<String>>,
pub token_endpoint_auth_methods_supported: Option<Vec<String>>,
pub revocation_endpoint_auth_methods_supported: Option<Vec<String>>,
pub introspection_endpoint_auth_methods_supported: Option<Vec<String>>,
pub code_challenge_methods_supported: Option<Vec<String>>,
pub revocation_endpoint: Option<String>,
pub introspection_endpoint: Option<String>,
pub authorization_response_iss_parameter_supported: Option<bool>,
pub pushed_authorization_request_endpoint: Option<String>,
pub require_pushed_authorization_requests: Option<bool>,
pub device_authorization_endpoint: Option<String>,
pub dpop_signing_alg_values_supported: Option<Vec<String>>,
pub mtls_endpoint_aliases: Option<MtlsEndpointAliases>,
pub tls_client_certificate_bound_access_tokens: Option<bool>,
pub userinfo_endpoint: Option<String>,
pub subject_types_supported: Option<Vec<String>>,
pub id_token_signing_alg_values_supported: Option<Vec<String>>,
pub id_token_encryption_alg_values_supported: Option<Vec<String>>,
pub id_token_encryption_enc_values_supported: Option<Vec<String>>,
pub claims_supported: Option<Vec<String>>,
pub claims_parameter_supported: Option<bool>,
pub request_parameter_supported: Option<bool>,
pub request_uri_parameter_supported: Option<bool>,
}Expand description
OAuth 2.0 Authorization Server Metadata
Fields§
§issuer: StringThe authorization server’s issuer identifier
URL of the authorization server’s authorization endpoint
token_endpoint: Option<String>URL of the authorization server’s token endpoint
jwks_uri: Option<String>URL of the authorization server’s JWK Set document
registration_endpoint: Option<String>URL of the authorization server’s registration endpoint
scopes_supported: Option<Vec<String>>List of scope values supported by the authorization server
response_types_supported: Vec<String>List of response type values supported by the authorization server
response_modes_supported: Option<Vec<String>>List of response mode values supported by the authorization server
grant_types_supported: Option<Vec<String>>List of grant type values supported by the authorization server
token_endpoint_auth_methods_supported: Option<Vec<String>>List of client authentication methods supported by the token endpoint
revocation_endpoint_auth_methods_supported: Option<Vec<String>>List of client authentication methods supported by the revocation endpoint
introspection_endpoint_auth_methods_supported: Option<Vec<String>>List of client authentication methods supported by the introspection endpoint
code_challenge_methods_supported: Option<Vec<String>>List of PKCE code challenge methods supported
revocation_endpoint: Option<String>URL of the authorization server’s revocation endpoint
introspection_endpoint: Option<String>URL of the authorization server’s introspection endpoint
Boolean value indicating whether the authorization server provides the iss parameter
URL of the pushed authorization request endpoint
Whether PAR is required for this authorization server
URL of the device authorization endpoint
dpop_signing_alg_values_supported: Option<Vec<String>>List of algorithms supported for DPoP proof JWTs
mtls_endpoint_aliases: Option<MtlsEndpointAliases>URL of the authorization server’s token endpoint for mutual TLS
tls_client_certificate_bound_access_tokens: Option<bool>List of client certificate types supported for mutual TLS
userinfo_endpoint: Option<String>URL of the authorization server’s UserInfo endpoint
subject_types_supported: Option<Vec<String>>List of subject identifier types supported
id_token_signing_alg_values_supported: Option<Vec<String>>List of JWS signing algorithms supported for ID tokens
id_token_encryption_alg_values_supported: Option<Vec<String>>List of JWE encryption algorithms supported for ID tokens
id_token_encryption_enc_values_supported: Option<Vec<String>>List of JWE encryption methods supported for ID tokens
claims_supported: Option<Vec<String>>List of claim names supported
claims_parameter_supported: Option<bool>Whether claims parameter is supported
request_parameter_supported: Option<bool>Whether request parameter is supported
request_uri_parameter_supported: Option<bool>Whether request_uri parameter is supported
Trait Implementations§
Source§impl Clone for AuthorizationServerMetadata
impl Clone for AuthorizationServerMetadata
Source§fn clone(&self) -> AuthorizationServerMetadata
fn clone(&self) -> AuthorizationServerMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuthorizationServerMetadata
impl Debug for AuthorizationServerMetadata
Source§impl<'de> Deserialize<'de> for AuthorizationServerMetadata
impl<'de> Deserialize<'de> for AuthorizationServerMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for AuthorizationServerMetadata
impl RefUnwindSafe for AuthorizationServerMetadata
impl Send for AuthorizationServerMetadata
impl Sync for AuthorizationServerMetadata
impl Unpin for AuthorizationServerMetadata
impl UnwindSafe for AuthorizationServerMetadata
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more