Struct openid_client::ClientMetadata
source · pub struct ClientMetadata {Show 13 fields
pub client_id: String,
pub client_secret: Option<String>,
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 other_fields: HashMap<String, Value>,
}Expand description
Fields§
§client_id: StringClient Id
client_secret: Option<String>Client secret
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
other_fields: HashMap<String, Value>Extra key values
Trait Implementations§
source§impl Debug for ClientMetadata
impl Debug for ClientMetadata
Auto Trait Implementations§
impl RefUnwindSafe for ClientMetadata
impl Send for ClientMetadata
impl Sync for ClientMetadata
impl Unpin for ClientMetadata
impl UnwindSafe for ClientMetadata
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