pub struct OidcConfig {
pub issuer_uri: String,
pub jwks_uri: String,
pub aud: Option<String>,
pub shared_secret: Option<String>,
pub bypass: Vec<RouteRuleConfig>,
}
Expand description
Top-level OIDC section under "security_chain"
in config.
Fields§
§issuer_uri: String
§jwks_uri: String
JWKS URI (required)
aud: Option<String>
Expected audience claim (optional)
Shared secret for HS* algorithms (optional)
bypass: Vec<RouteRuleConfig>
Routes to bypass authentication for
Trait Implementations§
Source§impl Clone for OidcConfig
impl Clone for OidcConfig
Source§fn clone(&self) -> OidcConfig
fn clone(&self) -> OidcConfig
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 OidcConfig
impl Debug for OidcConfig
Source§impl<'de> Deserialize<'de> for OidcConfig
impl<'de> Deserialize<'de> for OidcConfig
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 OidcConfig
impl RefUnwindSafe for OidcConfig
impl Send for OidcConfig
impl Sync for OidcConfig
impl Unpin for OidcConfig
impl UnwindSafe for OidcConfig
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