pub struct OpenIdConnectConfiguration {
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub userinfo_endpoint: String,
pub end_session_endpoint: String,
pub introspection_endpoint: String,
pub jwks_uri: String,
pub response_types_supported: Vec<String>,
pub id_token_signing_alg_values_supported: Vec<String>,
pub subject_types_supported: Vec<String>,
pub token_endpoint_auth_methods_supported: Vec<String>,
}
Expand description
OpenIdConnectConfiguration : rest_framework Serializer for OIDC Configuration
Fields§
§issuer: String
§token_endpoint: String
§userinfo_endpoint: String
§end_session_endpoint: String
§introspection_endpoint: String
§jwks_uri: String
§response_types_supported: Vec<String>
§id_token_signing_alg_values_supported: Vec<String>
§subject_types_supported: Vec<String>
§token_endpoint_auth_methods_supported: Vec<String>
Implementations§
Source§impl OpenIdConnectConfiguration
impl OpenIdConnectConfiguration
Sourcepub fn new(
issuer: String,
authorization_endpoint: String,
token_endpoint: String,
userinfo_endpoint: String,
end_session_endpoint: String,
introspection_endpoint: String,
jwks_uri: String,
response_types_supported: Vec<String>,
id_token_signing_alg_values_supported: Vec<String>,
subject_types_supported: Vec<String>,
token_endpoint_auth_methods_supported: Vec<String>,
) -> OpenIdConnectConfiguration
pub fn new( issuer: String, authorization_endpoint: String, token_endpoint: String, userinfo_endpoint: String, end_session_endpoint: String, introspection_endpoint: String, jwks_uri: String, response_types_supported: Vec<String>, id_token_signing_alg_values_supported: Vec<String>, subject_types_supported: Vec<String>, token_endpoint_auth_methods_supported: Vec<String>, ) -> OpenIdConnectConfiguration
rest_framework Serializer for OIDC Configuration
Trait Implementations§
Source§impl Clone for OpenIdConnectConfiguration
impl Clone for OpenIdConnectConfiguration
Source§fn clone(&self) -> OpenIdConnectConfiguration
fn clone(&self) -> OpenIdConnectConfiguration
Returns a duplicate 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 OpenIdConnectConfiguration
impl Debug for OpenIdConnectConfiguration
Source§impl Default for OpenIdConnectConfiguration
impl Default for OpenIdConnectConfiguration
Source§fn default() -> OpenIdConnectConfiguration
fn default() -> OpenIdConnectConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenIdConnectConfiguration
impl<'de> Deserialize<'de> for OpenIdConnectConfiguration
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
impl StructuralPartialEq for OpenIdConnectConfiguration
Auto Trait Implementations§
impl Freeze for OpenIdConnectConfiguration
impl RefUnwindSafe for OpenIdConnectConfiguration
impl Send for OpenIdConnectConfiguration
impl Sync for OpenIdConnectConfiguration
impl Unpin for OpenIdConnectConfiguration
impl UnwindSafe for OpenIdConnectConfiguration
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