pub struct OidcProviderMetadata {Show 22 fields
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub jwks_uri: String,
pub userinfo_endpoint: Option<String>,
pub end_session_endpoint: Option<String>,
pub registration_endpoint: Option<String>,
pub response_types_supported: Option<Vec<String>>,
pub grant_types_supported: Option<Vec<String>>,
pub scopes_supported: Option<Vec<String>>,
pub token_endpoint_auth_methods_supported: Option<Vec<String>>,
pub id_token_signing_alg_values_supported: Option<Vec<String>>,
pub code_challenge_methods_supported: Option<Vec<String>>,
pub subject_types_supported: Vec<String>,
pub introspection_endpoint: Option<String>,
pub revocation_endpoint: Option<String>,
pub frontchannel_logout_supported: Option<bool>,
pub frontchannel_logout_session_supported: Option<bool>,
pub backchannel_logout_supported: Option<bool>,
pub backchannel_logout_session_supported: Option<bool>,
pub tenant_id: Option<i64>,
pub tenant_slug: Option<String>,
}Expand description
OAuth2/OIDC Provider metadata from discovery endpoint
Fields§
§issuer: StringIssuer identifier
Authorization endpoint URL
token_endpoint: StringToken endpoint URL
jwks_uri: StringJWKS URI for key discovery
userinfo_endpoint: Option<String>UserInfo endpoint URL (optional)
end_session_endpoint: Option<String>End session endpoint URL (optional)
registration_endpoint: Option<String>Registration endpoint URL (optional)
response_types_supported: Option<Vec<String>>Supported response types
grant_types_supported: Option<Vec<String>>Supported grant types
scopes_supported: Option<Vec<String>>Supported scopes
token_endpoint_auth_methods_supported: Option<Vec<String>>Supported token endpoint auth methods
id_token_signing_alg_values_supported: Option<Vec<String>>Supported ID token signing algorithms
code_challenge_methods_supported: Option<Vec<String>>PKCE code challenge methods supported
subject_types_supported: Vec<String>Subject identifier types supported (REQUIRED by OIDC spec)
introspection_endpoint: Option<String>Token introspection endpoint URL (optional)
revocation_endpoint: Option<String>Token revocation endpoint URL (optional)
frontchannel_logout_supported: Option<bool>Frontchannel logout supported
frontchannel_logout_session_supported: Option<bool>Frontchannel logout session supported
backchannel_logout_supported: Option<bool>Backchannel logout supported
backchannel_logout_session_supported: Option<bool>Backchannel logout session supported
tenant_id: Option<i64>Tenant ID (for multi-tenant setups)
tenant_slug: Option<String>Tenant slug (for multi-tenant setups)
Trait Implementations§
Source§impl Clone for OidcProviderMetadata
impl Clone for OidcProviderMetadata
Source§fn clone(&self) -> OidcProviderMetadata
fn clone(&self) -> OidcProviderMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more