pub struct ClientMetadata {
Show 45 fields pub client_id: Option<String>, pub client_secret: Option<String>, pub registration_access_token: Option<String>, pub registration_client_uri: Option<String>, pub client_id_issued_at: Option<i64>, pub client_secret_expires_at: Option<i64>, pub token_endpoint_auth_method: Option<String>, pub token_endpoint_auth_signing_alg: Option<String>, pub introspection_endpoint_auth_method: Option<String>, pub introspection_endpoint_auth_signing_alg: Option<String>, pub revocation_endpoint_auth_method: Option<String>, pub revocation_endpoint_auth_signing_alg: Option<String>, pub redirect_uri: Option<String>, pub redirect_uris: Option<Vec<String>>, pub response_type: Option<String>, pub response_types: Option<Vec<String>>, pub grant_types: Option<Vec<String>>, pub application_type: Option<String>, pub contacts: Option<Vec<String>>, pub client_name: Option<String>, pub logo_uri: Option<String>, pub client_uri: Option<String>, pub policy_uri: Option<String>, pub tos_uri: Option<String>, pub jwks_uri: Option<String>, pub jwks: Option<Jwks>, pub sector_identifier_uri: Option<String>, pub subject_type: Option<String>, pub id_token_signed_response_alg: Option<String>, pub id_token_encrypted_response_alg: Option<String>, pub id_token_encrypted_response_enc: Option<String>, pub userinfo_signed_response_alg: Option<String>, pub userinfo_encrypted_response_alg: Option<String>, pub userinfo_encrypted_response_enc: Option<String>, pub request_object_signing_alg: Option<String>, pub request_object_encryption_alg: Option<String>, pub request_object_encryption_enc: Option<String>, pub default_max_age: Option<i64>, pub require_auth_time: Option<bool>, pub default_acr_values: Option<Vec<String>>, pub initiate_login_uri: Option<String>, pub request_uris: Option<String>, pub tls_client_certificate_bound_access_tokens: Option<bool>, pub post_logout_redirect_uris: Option<Vec<String>>, pub other_fields: HashMap<String, Value>,
}
Expand description

Fields§

§client_id: Option<String>

Client Id

§client_secret: Option<String>

Client secret

§registration_access_token: Option<String>§registration_client_uri: Option<String>§client_id_issued_at: Option<i64>§client_secret_expires_at: Option<i64>

Secret Expiry Epoch Seconds

§token_endpoint_auth_method: Option<String>

Authentication method used by the client for authenticating with the OP

§token_endpoint_auth_signing_alg: Option<String>

Algorithm used for signing the JWT used to authenticate the client at the token endpoint.

§introspection_endpoint_auth_method: Option<String>

Authentication method used by the client for introspection endpoint

§introspection_endpoint_auth_signing_alg: Option<String>

Algorithm used for signing the JWT used to authenticate the client at the introspection endpoint.

§revocation_endpoint_auth_method: Option<String>

Authentication method used by the client for revocation endpoint

§revocation_endpoint_auth_signing_alg: Option<String>

Algorithm used for signing the JWT used to authenticate the client at the revocation endpoint.

§redirect_uri: Option<String>

The redirect uri where response will be sent

§redirect_uris: Option<Vec<String>>

A list of acceptable redirect uris

§response_type: Option<String>

Response type supported by the client.

§response_types: Option<Vec<String>>

List of Response type supported by the client

§grant_types: Option<Vec<String>>§application_type: Option<String>§contacts: Option<Vec<String>>§client_name: Option<String>§logo_uri: Option<String>§client_uri: Option<String>§policy_uri: Option<String>§tos_uri: Option<String>§jwks_uri: Option<String>§jwks: Option<Jwks>§sector_identifier_uri: Option<String>§subject_type: Option<String>§id_token_signed_response_alg: Option<String>§id_token_encrypted_response_alg: Option<String>§id_token_encrypted_response_enc: Option<String>§userinfo_signed_response_alg: Option<String>§userinfo_encrypted_response_alg: Option<String>§userinfo_encrypted_response_enc: Option<String>§request_object_signing_alg: Option<String>§request_object_encryption_alg: Option<String>§request_object_encryption_enc: Option<String>§default_max_age: Option<i64>§require_auth_time: Option<bool>§default_acr_values: Option<Vec<String>>§initiate_login_uri: Option<String>§request_uris: Option<String>§tls_client_certificate_bound_access_tokens: Option<bool>§post_logout_redirect_uris: Option<Vec<String>>

Client’s allowed redirect uris after a logout

§other_fields: HashMap<String, Value>

Extra key values

Trait Implementations§

source§

impl Clone for ClientMetadata

source§

fn clone(&self) -> ClientMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ClientMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ClientMetadata

source§

fn default() -> ClientMetadata

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ClientMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<ClientMetadata> for ClientMetadata

source§

fn eq(&self, other: &ClientMetadata) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ClientMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for ClientMetadata

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,