pub struct OAuthServerConfig {
pub issuer: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub registration_endpoint: String,
pub supported_scopes: Vec<String>,
pub supported_grant_types: Vec<String>,
pub supported_response_types: Vec<String>,
pub supported_code_challenge_methods: Vec<String>,
pub token_endpoint_auth_method: String,
pub default_scope: String,
pub auth_code_expiry_seconds: i32,
pub access_token_expiry_seconds: i32,
}Fields§
§issuer: String§token_endpoint: String§registration_endpoint: String§supported_scopes: Vec<String>§supported_grant_types: Vec<String>§supported_response_types: Vec<String>§supported_code_challenge_methods: Vec<String>§token_endpoint_auth_method: String§default_scope: String§auth_code_expiry_seconds: i32§access_token_expiry_seconds: i32Implementations§
Trait Implementations§
Source§impl Clone for OAuthServerConfig
impl Clone for OAuthServerConfig
Source§fn clone(&self) -> OAuthServerConfig
fn clone(&self) -> OAuthServerConfig
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 OAuthServerConfig
impl Debug for OAuthServerConfig
Source§impl Default for OAuthServerConfig
impl Default for OAuthServerConfig
Source§impl<'de> Deserialize<'de> for OAuthServerConfig
impl<'de> Deserialize<'de> for OAuthServerConfig
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 OAuthServerConfig
impl RefUnwindSafe for OAuthServerConfig
impl Send for OAuthServerConfig
impl Sync for OAuthServerConfig
impl Unpin for OAuthServerConfig
impl UnwindSafe for OAuthServerConfig
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