#[non_exhaustive]pub struct GetOpenIDConfigResponse {
pub issuer: String,
pub jwks_uri: String,
pub response_types_supported: Vec<String>,
pub subject_types_supported: Vec<String>,
pub id_token_signing_alg_values_supported: Vec<String>,
pub claims_supported: Vec<String>,
pub grant_types: Vec<String>,
}Expand description
GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.issuer: StringOIDC Issuer.
jwks_uri: StringJSON Web Key uri.
response_types_supported: Vec<String>Supported response types.
subject_types_supported: Vec<String>Supported subject types.
id_token_signing_alg_values_supported: Vec<String>supported ID Token signing Algorithms.
claims_supported: Vec<String>Supported claims.
grant_types: Vec<String>Supported grant types.
Implementations§
Source§impl GetOpenIDConfigResponse
impl GetOpenIDConfigResponse
Sourcepub fn set_issuer<T: Into<String>>(self, v: T) -> Self
pub fn set_issuer<T: Into<String>>(self, v: T) -> Self
Sets the value of issuer.
Sourcepub fn set_jwks_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_jwks_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of jwks_uri.
Sourcepub fn set_response_types_supported<T, V>(self, v: T) -> Self
pub fn set_response_types_supported<T, V>(self, v: T) -> Self
Sets the value of response_types_supported.
Sourcepub fn set_subject_types_supported<T, V>(self, v: T) -> Self
pub fn set_subject_types_supported<T, V>(self, v: T) -> Self
Sets the value of subject_types_supported.
Sourcepub fn set_id_token_signing_alg_values_supported<T, V>(self, v: T) -> Self
pub fn set_id_token_signing_alg_values_supported<T, V>(self, v: T) -> Self
Sets the value of id_token_signing_alg_values_supported.
Sourcepub fn set_claims_supported<T, V>(self, v: T) -> Self
pub fn set_claims_supported<T, V>(self, v: T) -> Self
Sets the value of claims_supported.
Sourcepub fn set_grant_types<T, V>(self, v: T) -> Self
pub fn set_grant_types<T, V>(self, v: T) -> Self
Sets the value of grant_types.
Trait Implementations§
Source§impl Clone for GetOpenIDConfigResponse
impl Clone for GetOpenIDConfigResponse
Source§fn clone(&self) -> GetOpenIDConfigResponse
fn clone(&self) -> GetOpenIDConfigResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetOpenIDConfigResponse
impl Debug for GetOpenIDConfigResponse
Source§impl Default for GetOpenIDConfigResponse
impl Default for GetOpenIDConfigResponse
Source§fn default() -> GetOpenIDConfigResponse
fn default() -> GetOpenIDConfigResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetOpenIDConfigResponsewhere
GetOpenIDConfigResponse: Default,
impl<'de> Deserialize<'de> for GetOpenIDConfigResponsewhere
GetOpenIDConfigResponse: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for GetOpenIDConfigResponse
impl Message for GetOpenIDConfigResponse
Source§impl PartialEq for GetOpenIDConfigResponse
impl PartialEq for GetOpenIDConfigResponse
Source§impl Serialize for GetOpenIDConfigResponse
impl Serialize for GetOpenIDConfigResponse
impl StructuralPartialEq for GetOpenIDConfigResponse
Auto Trait Implementations§
impl Freeze for GetOpenIDConfigResponse
impl RefUnwindSafe for GetOpenIDConfigResponse
impl Send for GetOpenIDConfigResponse
impl Sync for GetOpenIDConfigResponse
impl Unpin for GetOpenIDConfigResponse
impl UnwindSafe for GetOpenIDConfigResponse
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
Mutably borrows from an owned value. Read more