Struct openidconnect::ProviderMetadata
source · pub struct ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata,
AD: AuthDisplay,
CA: ClientAuthMethod,
CN: ClaimName,
CT: ClaimType,
G: GrantType,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode,
RT: ResponseType,
S: SubjectIdentifierType,{ /* private fields */ }
Expand description
Provider metadata returned by OpenID Connect Discovery.
Implementations§
source§impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata,
AD: AuthDisplay,
CA: ClientAuthMethod,
CN: ClaimName,
CT: ClaimType,
G: GrantType,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode,
RT: ResponseType,
S: SubjectIdentifierType,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata,
AD: AuthDisplay,
CA: ClientAuthMethod,
CN: ClaimName,
CT: ClaimType,
G: GrantType,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode,
RT: ResponseType,
S: SubjectIdentifierType,
sourcepub fn new(
issuer: IssuerUrl,
authorization_endpoint: AuthUrl,
jwks_uri: JsonWebKeySetUrl,
response_types_supported: Vec<ResponseTypes<RT>>,
subject_types_supported: Vec<S>,
id_token_signing_alg_values_supported: Vec<JS>,
additional_metadata: A
) -> Self
pub fn new( issuer: IssuerUrl, authorization_endpoint: AuthUrl, jwks_uri: JsonWebKeySetUrl, response_types_supported: Vec<ResponseTypes<RT>>, subject_types_supported: Vec<S>, id_token_signing_alg_values_supported: Vec<JS>, additional_metadata: A ) -> Self
Instantiates new provider metadata.
sourcepub fn set_issuer(self, issuer: IssuerUrl) -> Self
pub fn set_issuer(self, issuer: IssuerUrl) -> Self
Sets the issuer
provider metadata value.
Returns the authorization_endpoint
provider metadata value.
Sets the authorization_endpoint
provider metadata value.
sourcepub fn token_endpoint(&self) -> Option<&TokenUrl>
pub fn token_endpoint(&self) -> Option<&TokenUrl>
Returns the token_endpoint
provider metadata value.
sourcepub fn set_token_endpoint(self, token_endpoint: Option<TokenUrl>) -> Self
pub fn set_token_endpoint(self, token_endpoint: Option<TokenUrl>) -> Self
Sets the token_endpoint
provider metadata value.
sourcepub fn userinfo_endpoint(&self) -> Option<&UserInfoUrl>
pub fn userinfo_endpoint(&self) -> Option<&UserInfoUrl>
Returns the userinfo_endpoint
provider metadata value.
sourcepub fn set_userinfo_endpoint(
self,
userinfo_endpoint: Option<UserInfoUrl>
) -> Self
pub fn set_userinfo_endpoint( self, userinfo_endpoint: Option<UserInfoUrl> ) -> Self
Sets the userinfo_endpoint
provider metadata value.
sourcepub fn jwks_uri(&self) -> &JsonWebKeySetUrl
pub fn jwks_uri(&self) -> &JsonWebKeySetUrl
Returns the jwks_uri
provider metadata value.
sourcepub fn set_jwks_uri(self, jwks_uri: JsonWebKeySetUrl) -> Self
pub fn set_jwks_uri(self, jwks_uri: JsonWebKeySetUrl) -> Self
Sets the jwks_uri
provider metadata value.
sourcepub fn jwks(&self) -> &JsonWebKeySet<JS, JT, JU, K>
pub fn jwks(&self) -> &JsonWebKeySet<JS, JT, JU, K>
Returns the jwks
provider metadata value.
sourcepub fn set_jwks(self, jwks: JsonWebKeySet<JS, JT, JU, K>) -> Self
pub fn set_jwks(self, jwks: JsonWebKeySet<JS, JT, JU, K>) -> Self
Sets the jwks
provider metadata value.
sourcepub fn registration_endpoint(&self) -> Option<&RegistrationUrl>
pub fn registration_endpoint(&self) -> Option<&RegistrationUrl>
Returns the registration_endpoint
provider metadata value.
sourcepub fn set_registration_endpoint(
self,
registration_endpoint: Option<RegistrationUrl>
) -> Self
pub fn set_registration_endpoint( self, registration_endpoint: Option<RegistrationUrl> ) -> Self
Sets the registration_endpoint
provider metadata value.
sourcepub fn scopes_supported(&self) -> Option<&Vec<Scope>>
pub fn scopes_supported(&self) -> Option<&Vec<Scope>>
Returns the scopes_supported
provider metadata value.
sourcepub fn set_scopes_supported(self, scopes_supported: Option<Vec<Scope>>) -> Self
pub fn set_scopes_supported(self, scopes_supported: Option<Vec<Scope>>) -> Self
Sets the scopes_supported
provider metadata value.
sourcepub fn response_types_supported(&self) -> &Vec<ResponseTypes<RT>>
pub fn response_types_supported(&self) -> &Vec<ResponseTypes<RT>>
Returns the response_types_supported
provider metadata value.
sourcepub fn set_response_types_supported(
self,
response_types_supported: Vec<ResponseTypes<RT>>
) -> Self
pub fn set_response_types_supported( self, response_types_supported: Vec<ResponseTypes<RT>> ) -> Self
Sets the response_types_supported
provider metadata value.
sourcepub fn response_modes_supported(&self) -> Option<&Vec<RM>>
pub fn response_modes_supported(&self) -> Option<&Vec<RM>>
Returns the response_modes_supported
provider metadata value.
sourcepub fn set_response_modes_supported(
self,
response_modes_supported: Option<Vec<RM>>
) -> Self
pub fn set_response_modes_supported( self, response_modes_supported: Option<Vec<RM>> ) -> Self
Sets the response_modes_supported
provider metadata value.
sourcepub fn grant_types_supported(&self) -> Option<&Vec<G>>
pub fn grant_types_supported(&self) -> Option<&Vec<G>>
Returns the grant_types_supported
provider metadata value.
sourcepub fn set_grant_types_supported(
self,
grant_types_supported: Option<Vec<G>>
) -> Self
pub fn set_grant_types_supported( self, grant_types_supported: Option<Vec<G>> ) -> Self
Sets the grant_types_supported
provider metadata value.
sourcepub fn acr_values_supported(&self) -> Option<&Vec<AuthenticationContextClass>>
pub fn acr_values_supported(&self) -> Option<&Vec<AuthenticationContextClass>>
Returns the acr_values_supported
provider metadata value.
sourcepub fn set_acr_values_supported(
self,
acr_values_supported: Option<Vec<AuthenticationContextClass>>
) -> Self
pub fn set_acr_values_supported( self, acr_values_supported: Option<Vec<AuthenticationContextClass>> ) -> Self
Sets the acr_values_supported
provider metadata value.
sourcepub fn subject_types_supported(&self) -> &Vec<S>
pub fn subject_types_supported(&self) -> &Vec<S>
Returns the subject_types_supported
provider metadata value.
sourcepub fn set_subject_types_supported(
self,
subject_types_supported: Vec<S>
) -> Self
pub fn set_subject_types_supported( self, subject_types_supported: Vec<S> ) -> Self
Sets the subject_types_supported
provider metadata value.
sourcepub fn id_token_signing_alg_values_supported(&self) -> &Vec<JS>
pub fn id_token_signing_alg_values_supported(&self) -> &Vec<JS>
Returns the id_token_signing_alg_values_supported
provider metadata value.
sourcepub fn set_id_token_signing_alg_values_supported(
self,
id_token_signing_alg_values_supported: Vec<JS>
) -> Self
pub fn set_id_token_signing_alg_values_supported( self, id_token_signing_alg_values_supported: Vec<JS> ) -> Self
Sets the id_token_signing_alg_values_supported
provider metadata value.
sourcepub fn id_token_encryption_alg_values_supported(&self) -> Option<&Vec<JK>>
pub fn id_token_encryption_alg_values_supported(&self) -> Option<&Vec<JK>>
Returns the id_token_encryption_alg_values_supported
provider metadata value.
sourcepub fn set_id_token_encryption_alg_values_supported(
self,
id_token_encryption_alg_values_supported: Option<Vec<JK>>
) -> Self
pub fn set_id_token_encryption_alg_values_supported( self, id_token_encryption_alg_values_supported: Option<Vec<JK>> ) -> Self
Sets the id_token_encryption_alg_values_supported
provider metadata value.
sourcepub fn id_token_encryption_enc_values_supported(&self) -> Option<&Vec<JE>>
pub fn id_token_encryption_enc_values_supported(&self) -> Option<&Vec<JE>>
Returns the id_token_encryption_enc_values_supported
provider metadata value.
sourcepub fn set_id_token_encryption_enc_values_supported(
self,
id_token_encryption_enc_values_supported: Option<Vec<JE>>
) -> Self
pub fn set_id_token_encryption_enc_values_supported( self, id_token_encryption_enc_values_supported: Option<Vec<JE>> ) -> Self
Sets the id_token_encryption_enc_values_supported
provider metadata value.
sourcepub fn userinfo_signing_alg_values_supported(&self) -> Option<&Vec<JS>>
pub fn userinfo_signing_alg_values_supported(&self) -> Option<&Vec<JS>>
Returns the userinfo_signing_alg_values_supported
provider metadata value.
sourcepub fn set_userinfo_signing_alg_values_supported(
self,
userinfo_signing_alg_values_supported: Option<Vec<JS>>
) -> Self
pub fn set_userinfo_signing_alg_values_supported( self, userinfo_signing_alg_values_supported: Option<Vec<JS>> ) -> Self
Sets the userinfo_signing_alg_values_supported
provider metadata value.
sourcepub fn userinfo_encryption_alg_values_supported(&self) -> Option<&Vec<JK>>
pub fn userinfo_encryption_alg_values_supported(&self) -> Option<&Vec<JK>>
Returns the userinfo_encryption_alg_values_supported
provider metadata value.
sourcepub fn set_userinfo_encryption_alg_values_supported(
self,
userinfo_encryption_alg_values_supported: Option<Vec<JK>>
) -> Self
pub fn set_userinfo_encryption_alg_values_supported( self, userinfo_encryption_alg_values_supported: Option<Vec<JK>> ) -> Self
Sets the userinfo_encryption_alg_values_supported
provider metadata value.
sourcepub fn userinfo_encryption_enc_values_supported(&self) -> Option<&Vec<JE>>
pub fn userinfo_encryption_enc_values_supported(&self) -> Option<&Vec<JE>>
Returns the userinfo_encryption_enc_values_supported
provider metadata value.
sourcepub fn set_userinfo_encryption_enc_values_supported(
self,
userinfo_encryption_enc_values_supported: Option<Vec<JE>>
) -> Self
pub fn set_userinfo_encryption_enc_values_supported( self, userinfo_encryption_enc_values_supported: Option<Vec<JE>> ) -> Self
Sets the userinfo_encryption_enc_values_supported
provider metadata value.
sourcepub fn request_object_signing_alg_values_supported(&self) -> Option<&Vec<JS>>
pub fn request_object_signing_alg_values_supported(&self) -> Option<&Vec<JS>>
Returns the request_object_signing_alg_values_supported
provider metadata value.
sourcepub fn set_request_object_signing_alg_values_supported(
self,
request_object_signing_alg_values_supported: Option<Vec<JS>>
) -> Self
pub fn set_request_object_signing_alg_values_supported( self, request_object_signing_alg_values_supported: Option<Vec<JS>> ) -> Self
Sets the request_object_signing_alg_values_supported
provider metadata value.
sourcepub fn request_object_encryption_alg_values_supported(&self) -> Option<&Vec<JK>>
pub fn request_object_encryption_alg_values_supported(&self) -> Option<&Vec<JK>>
Returns the request_object_encryption_alg_values_supported
provider metadata value.
sourcepub fn set_request_object_encryption_alg_values_supported(
self,
request_object_encryption_alg_values_supported: Option<Vec<JK>>
) -> Self
pub fn set_request_object_encryption_alg_values_supported( self, request_object_encryption_alg_values_supported: Option<Vec<JK>> ) -> Self
Sets the request_object_encryption_alg_values_supported
provider metadata value.
sourcepub fn request_object_encryption_enc_values_supported(&self) -> Option<&Vec<JE>>
pub fn request_object_encryption_enc_values_supported(&self) -> Option<&Vec<JE>>
Returns the request_object_encryption_enc_values_supported
provider metadata value.
sourcepub fn set_request_object_encryption_enc_values_supported(
self,
request_object_encryption_enc_values_supported: Option<Vec<JE>>
) -> Self
pub fn set_request_object_encryption_enc_values_supported( self, request_object_encryption_enc_values_supported: Option<Vec<JE>> ) -> Self
Sets the request_object_encryption_enc_values_supported
provider metadata value.
sourcepub fn token_endpoint_auth_methods_supported(&self) -> Option<&Vec<CA>>
pub fn token_endpoint_auth_methods_supported(&self) -> Option<&Vec<CA>>
Returns the token_endpoint_auth_methods_supported
provider metadata value.
sourcepub fn set_token_endpoint_auth_methods_supported(
self,
token_endpoint_auth_methods_supported: Option<Vec<CA>>
) -> Self
pub fn set_token_endpoint_auth_methods_supported( self, token_endpoint_auth_methods_supported: Option<Vec<CA>> ) -> Self
Sets the token_endpoint_auth_methods_supported
provider metadata value.
sourcepub fn token_endpoint_auth_signing_alg_values_supported(
&self
) -> Option<&Vec<JS>>
pub fn token_endpoint_auth_signing_alg_values_supported( &self ) -> Option<&Vec<JS>>
Returns the token_endpoint_auth_signing_alg_values_supported
provider metadata value.
sourcepub fn set_token_endpoint_auth_signing_alg_values_supported(
self,
token_endpoint_auth_signing_alg_values_supported: Option<Vec<JS>>
) -> Self
pub fn set_token_endpoint_auth_signing_alg_values_supported( self, token_endpoint_auth_signing_alg_values_supported: Option<Vec<JS>> ) -> Self
Sets the token_endpoint_auth_signing_alg_values_supported
provider metadata value.
sourcepub fn display_values_supported(&self) -> Option<&Vec<AD>>
pub fn display_values_supported(&self) -> Option<&Vec<AD>>
Returns the display_values_supported
provider metadata value.
sourcepub fn set_display_values_supported(
self,
display_values_supported: Option<Vec<AD>>
) -> Self
pub fn set_display_values_supported( self, display_values_supported: Option<Vec<AD>> ) -> Self
Sets the display_values_supported
provider metadata value.
sourcepub fn claim_types_supported(&self) -> Option<&Vec<CT>>
pub fn claim_types_supported(&self) -> Option<&Vec<CT>>
Returns the claim_types_supported
provider metadata value.
sourcepub fn set_claim_types_supported(
self,
claim_types_supported: Option<Vec<CT>>
) -> Self
pub fn set_claim_types_supported( self, claim_types_supported: Option<Vec<CT>> ) -> Self
Sets the claim_types_supported
provider metadata value.
sourcepub fn claims_supported(&self) -> Option<&Vec<CN>>
pub fn claims_supported(&self) -> Option<&Vec<CN>>
Returns the claims_supported
provider metadata value.
sourcepub fn set_claims_supported(self, claims_supported: Option<Vec<CN>>) -> Self
pub fn set_claims_supported(self, claims_supported: Option<Vec<CN>>) -> Self
Sets the claims_supported
provider metadata value.
sourcepub fn service_documentation(&self) -> Option<&ServiceDocUrl>
pub fn service_documentation(&self) -> Option<&ServiceDocUrl>
Returns the service_documentation
provider metadata value.
sourcepub fn set_service_documentation(
self,
service_documentation: Option<ServiceDocUrl>
) -> Self
pub fn set_service_documentation( self, service_documentation: Option<ServiceDocUrl> ) -> Self
Sets the service_documentation
provider metadata value.
sourcepub fn claims_locales_supported(&self) -> Option<&Vec<LanguageTag>>
pub fn claims_locales_supported(&self) -> Option<&Vec<LanguageTag>>
Returns the claims_locales_supported
provider metadata value.
sourcepub fn set_claims_locales_supported(
self,
claims_locales_supported: Option<Vec<LanguageTag>>
) -> Self
pub fn set_claims_locales_supported( self, claims_locales_supported: Option<Vec<LanguageTag>> ) -> Self
Sets the claims_locales_supported
provider metadata value.
sourcepub fn ui_locales_supported(&self) -> Option<&Vec<LanguageTag>>
pub fn ui_locales_supported(&self) -> Option<&Vec<LanguageTag>>
Returns the ui_locales_supported
provider metadata value.
sourcepub fn set_ui_locales_supported(
self,
ui_locales_supported: Option<Vec<LanguageTag>>
) -> Self
pub fn set_ui_locales_supported( self, ui_locales_supported: Option<Vec<LanguageTag>> ) -> Self
Sets the ui_locales_supported
provider metadata value.
sourcepub fn claims_parameter_supported(&self) -> Option<bool>
pub fn claims_parameter_supported(&self) -> Option<bool>
Returns the claims_parameter_supported
provider metadata value.
sourcepub fn set_claims_parameter_supported(
self,
claims_parameter_supported: Option<bool>
) -> Self
pub fn set_claims_parameter_supported( self, claims_parameter_supported: Option<bool> ) -> Self
Sets the claims_parameter_supported
provider metadata value.
sourcepub fn request_parameter_supported(&self) -> Option<bool>
pub fn request_parameter_supported(&self) -> Option<bool>
Returns the request_parameter_supported
provider metadata value.
sourcepub fn set_request_parameter_supported(
self,
request_parameter_supported: Option<bool>
) -> Self
pub fn set_request_parameter_supported( self, request_parameter_supported: Option<bool> ) -> Self
Sets the request_parameter_supported
provider metadata value.
sourcepub fn request_uri_parameter_supported(&self) -> Option<bool>
pub fn request_uri_parameter_supported(&self) -> Option<bool>
Returns the request_uri_parameter_supported
provider metadata value.
sourcepub fn set_request_uri_parameter_supported(
self,
request_uri_parameter_supported: Option<bool>
) -> Self
pub fn set_request_uri_parameter_supported( self, request_uri_parameter_supported: Option<bool> ) -> Self
Sets the request_uri_parameter_supported
provider metadata value.
sourcepub fn require_request_uri_registration(&self) -> Option<bool>
pub fn require_request_uri_registration(&self) -> Option<bool>
Returns the require_request_uri_registration
provider metadata value.
sourcepub fn set_require_request_uri_registration(
self,
require_request_uri_registration: Option<bool>
) -> Self
pub fn set_require_request_uri_registration( self, require_request_uri_registration: Option<bool> ) -> Self
Sets the require_request_uri_registration
provider metadata value.
sourcepub fn op_policy_uri(&self) -> Option<&OpPolicyUrl>
pub fn op_policy_uri(&self) -> Option<&OpPolicyUrl>
Returns the op_policy_uri
provider metadata value.
sourcepub fn set_op_policy_uri(self, op_policy_uri: Option<OpPolicyUrl>) -> Self
pub fn set_op_policy_uri(self, op_policy_uri: Option<OpPolicyUrl>) -> Self
Sets the op_policy_uri
provider metadata value.
sourcepub fn op_tos_uri(&self) -> Option<&OpTosUrl>
pub fn op_tos_uri(&self) -> Option<&OpTosUrl>
Returns the op_tos_uri
provider metadata value.
sourcepub fn set_op_tos_uri(self, op_tos_uri: Option<OpTosUrl>) -> Self
pub fn set_op_tos_uri(self, op_tos_uri: Option<OpTosUrl>) -> Self
Sets the op_tos_uri
provider metadata value.
sourcepub fn discover<HC, RE>(
issuer_url: &IssuerUrl,
http_client: HC
) -> Result<Self, DiscoveryError<RE>>
pub fn discover<HC, RE>( issuer_url: &IssuerUrl, http_client: HC ) -> Result<Self, DiscoveryError<RE>>
Fetches the OpenID Connect Discovery document and associated JSON Web Key Set from the OpenID Connect Provider.
sourcepub async fn discover_async<F, HC, RE>(
issuer_url: IssuerUrl,
http_client: HC
) -> Result<Self, DiscoveryError<RE>>
pub async fn discover_async<F, HC, RE>( issuer_url: IssuerUrl, http_client: HC ) -> Result<Self, DiscoveryError<RE>>
Asynchronously fetches the OpenID Connect Discovery document and associated JSON Web Key Set from the OpenID Connect Provider.
sourcepub fn additional_metadata(&self) -> &A
pub fn additional_metadata(&self) -> &A
Returns additional provider metadata fields.
sourcepub fn additional_metadata_mut(&mut self) -> &mut A
pub fn additional_metadata_mut(&mut self) -> &mut A
Returns mutable additional provider metadata fields.
Trait Implementations§
source§impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Clone for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Clone,
AD: AuthDisplay + Clone,
CA: ClientAuthMethod + Clone,
CN: ClaimName + Clone,
CT: ClaimType + Clone,
G: GrantType + Clone,
JE: JweContentEncryptionAlgorithm<JT> + Clone,
JK: JweKeyManagementAlgorithm + Clone,
JS: JwsSigningAlgorithm<JT> + Clone,
JT: JsonWebKeyType + Clone,
JU: JsonWebKeyUse + Clone,
K: JsonWebKey<JS, JT, JU> + Clone,
RM: ResponseMode + Clone,
RT: ResponseType + Clone,
S: SubjectIdentifierType + Clone,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Clone for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Clone,
AD: AuthDisplay + Clone,
CA: ClientAuthMethod + Clone,
CN: ClaimName + Clone,
CT: ClaimType + Clone,
G: GrantType + Clone,
JE: JweContentEncryptionAlgorithm<JT> + Clone,
JK: JweKeyManagementAlgorithm + Clone,
JS: JwsSigningAlgorithm<JT> + Clone,
JT: JsonWebKeyType + Clone,
JU: JsonWebKeyUse + Clone,
K: JsonWebKey<JS, JT, JU> + Clone,
RM: ResponseMode + Clone,
RT: ResponseType + Clone,
S: SubjectIdentifierType + Clone,
source§fn clone(
&self
) -> ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>
fn clone( &self ) -> ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Debug for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Debug,
AD: AuthDisplay + Debug,
CA: ClientAuthMethod + Debug,
CN: ClaimName + Debug,
CT: ClaimType + Debug,
G: GrantType + Debug,
JE: JweContentEncryptionAlgorithm<JT> + Debug,
JK: JweKeyManagementAlgorithm + Debug,
JS: JwsSigningAlgorithm<JT> + Debug,
JT: JsonWebKeyType + Debug,
JU: JsonWebKeyUse + Debug,
K: JsonWebKey<JS, JT, JU> + Debug,
RM: ResponseMode + Debug,
RT: ResponseType + Debug,
S: SubjectIdentifierType + Debug,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Debug for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Debug,
AD: AuthDisplay + Debug,
CA: ClientAuthMethod + Debug,
CN: ClaimName + Debug,
CT: ClaimType + Debug,
G: GrantType + Debug,
JE: JweContentEncryptionAlgorithm<JT> + Debug,
JK: JweKeyManagementAlgorithm + Debug,
JS: JwsSigningAlgorithm<JT> + Debug,
JT: JsonWebKeyType + Debug,
JU: JsonWebKeyUse + Debug,
K: JsonWebKey<JS, JT, JU> + Debug,
RM: ResponseMode + Debug,
RT: ResponseType + Debug,
S: SubjectIdentifierType + Debug,
source§impl<'de, A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Deserialize<'de> for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata,
AD: AuthDisplay,
CA: ClientAuthMethod,
CN: ClaimName,
CT: ClaimType,
G: GrantType,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode,
RT: ResponseType,
S: SubjectIdentifierType,
impl<'de, A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Deserialize<'de> for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata,
AD: AuthDisplay,
CA: ClientAuthMethod,
CN: ClaimName,
CT: ClaimType,
G: GrantType,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode,
RT: ResponseType,
S: SubjectIdentifierType,
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>,
source§impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> PartialEq for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + PartialEq,
AD: AuthDisplay + PartialEq,
CA: ClientAuthMethod + PartialEq,
CN: ClaimName + PartialEq,
CT: ClaimType + PartialEq,
G: GrantType + PartialEq,
JE: JweContentEncryptionAlgorithm<JT> + PartialEq,
JK: JweKeyManagementAlgorithm + PartialEq,
JS: JwsSigningAlgorithm<JT> + PartialEq,
JT: JsonWebKeyType + PartialEq,
JU: JsonWebKeyUse + PartialEq,
K: JsonWebKey<JS, JT, JU> + PartialEq,
RM: ResponseMode + PartialEq,
RT: ResponseType + PartialEq,
S: SubjectIdentifierType + PartialEq,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> PartialEq for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + PartialEq,
AD: AuthDisplay + PartialEq,
CA: ClientAuthMethod + PartialEq,
CN: ClaimName + PartialEq,
CT: ClaimType + PartialEq,
G: GrantType + PartialEq,
JE: JweContentEncryptionAlgorithm<JT> + PartialEq,
JK: JweKeyManagementAlgorithm + PartialEq,
JS: JwsSigningAlgorithm<JT> + PartialEq,
JT: JsonWebKeyType + PartialEq,
JU: JsonWebKeyUse + PartialEq,
K: JsonWebKey<JS, JT, JU> + PartialEq,
RM: ResponseMode + PartialEq,
RT: ResponseType + PartialEq,
S: SubjectIdentifierType + PartialEq,
source§fn eq(
&self,
other: &ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>
) -> bool
fn eq( &self, other: &ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> ) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Serialize for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Serialize,
AD: AuthDisplay + Serialize,
CA: ClientAuthMethod + Serialize,
CN: ClaimName + Serialize,
CT: ClaimType + Serialize,
G: GrantType + Serialize,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode + Serialize,
RT: ResponseType + Serialize,
S: SubjectIdentifierType + Serialize,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Serialize for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Serialize,
AD: AuthDisplay + Serialize,
CA: ClientAuthMethod + Serialize,
CN: ClaimName + Serialize,
CT: ClaimType + Serialize,
G: GrantType + Serialize,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode + Serialize,
RT: ResponseType + Serialize,
S: SubjectIdentifierType + Serialize,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Eq for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata + Eq,
AD: AuthDisplay + Eq,
CA: ClientAuthMethod + Eq,
CN: ClaimName + Eq,
CT: ClaimType + Eq,
G: GrantType + Eq,
JE: JweContentEncryptionAlgorithm<JT> + Eq,
JK: JweKeyManagementAlgorithm + Eq,
JS: JwsSigningAlgorithm<JT> + Eq,
JT: JsonWebKeyType + Eq,
JU: JsonWebKeyUse + Eq,
K: JsonWebKey<JS, JT, JU> + Eq,
RM: ResponseMode + Eq,
RT: ResponseType + Eq,
S: SubjectIdentifierType + Eq,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> StructuralPartialEq for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: AdditionalProviderMetadata,
AD: AuthDisplay,
CA: ClientAuthMethod,
CN: ClaimName,
CT: ClaimType,
G: GrantType,
JE: JweContentEncryptionAlgorithm<JT>,
JK: JweKeyManagementAlgorithm,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
RM: ResponseMode,
RT: ResponseType,
S: SubjectIdentifierType,
Auto Trait Implementations§
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> RefUnwindSafe for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: RefUnwindSafe,
AD: RefUnwindSafe,
CA: RefUnwindSafe,
CN: RefUnwindSafe,
CT: RefUnwindSafe,
G: RefUnwindSafe,
JE: RefUnwindSafe,
JK: RefUnwindSafe,
JS: RefUnwindSafe,
JT: RefUnwindSafe,
JU: RefUnwindSafe,
K: RefUnwindSafe,
RM: RefUnwindSafe,
RT: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Send for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Sync for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> Unpin for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>
impl<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S> UnwindSafe for ProviderMetadata<A, AD, CA, CN, CT, G, JE, JK, JS, JT, JU, K, RM, RT, S>where
A: UnwindSafe,
AD: UnwindSafe,
CA: UnwindSafe,
CN: UnwindSafe,
CT: UnwindSafe,
G: UnwindSafe,
JE: UnwindSafe,
JK: UnwindSafe,
JS: UnwindSafe,
JT: UnwindSafe,
JU: UnwindSafe,
K: UnwindSafe,
RM: UnwindSafe,
RT: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.