pub struct ClientConfig {
pub client_id: String,
pub client_secret: Option<String>,
pub client_name: String,
pub redirect_uris: Vec<String>,
pub post_logout_redirect_uris: Option<Vec<String>>,
pub grant_types: Vec<String>,
pub response_types: Vec<String>,
pub token_endpoint_auth_method: String,
pub scope: String,
pub client_secret_expires_at: Option<i64>,
}Expand description
Client configuration from DCR GET endpoint
Fields§
§client_id: StringClient ID
client_secret: Option<String>Client secret (for confidential clients)
client_name: StringClient name
redirect_uris: Vec<String>Redirect URIs
post_logout_redirect_uris: Option<Vec<String>>Post-logout redirect URIs
grant_types: Vec<String>Grant types
response_types: Vec<String>Response types
token_endpoint_auth_method: StringToken endpoint auth method
scope: StringAllowed scopes
client_secret_expires_at: Option<i64>Client secret expiration time
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 ClientConfig
impl Debug for ClientConfig
Source§impl<'de> Deserialize<'de> for ClientConfig
impl<'de> Deserialize<'de> for ClientConfig
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
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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