pub struct OAuth2AccessRules {
pub audience: Option<String>,
pub authorized_gw_cluster_name: Option<String>,
pub bound_claims: Option<Vec<OAuth2CustomClaim>>,
pub bound_clients_id: Option<Vec<String>>,
pub certificate: Option<String>,
pub issuer: Option<String>,
pub jwks_json_data: Option<String>,
pub jwks_uri: Option<String>,
pub unique_identifier: Option<String>,
}Expand description
OAuth2AccessRules : OAuth2AccessRules contains access rules specific to OAuth2 authentication method.
Fields§
§audience: Option<String>The audience in the JWT.
The gateway cluster name that is authorized to access JWKeySetURL
bound_claims: Option<Vec<OAuth2CustomClaim>>The claims that login is restricted to.
bound_clients_id: Option<Vec<String>>The clients ids that login is restricted to.
certificate: Option<String>Certificate to use when calling jwks_uri from the gateway. in PEM format
issuer: Option<String>Issuer URL
jwks_json_data: Option<String>The JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. base64 encoded string
jwks_uri: Option<String>The URL to the JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server.
unique_identifier: Option<String>A unique identifier to distinguish different users
Implementations§
Source§impl OAuth2AccessRules
impl OAuth2AccessRules
Sourcepub fn new() -> OAuth2AccessRules
pub fn new() -> OAuth2AccessRules
OAuth2AccessRules contains access rules specific to OAuth2 authentication method.
Trait Implementations§
Source§impl Clone for OAuth2AccessRules
impl Clone for OAuth2AccessRules
Source§fn clone(&self) -> OAuth2AccessRules
fn clone(&self) -> OAuth2AccessRules
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OAuth2AccessRules
impl Debug for OAuth2AccessRules
Source§impl Default for OAuth2AccessRules
impl Default for OAuth2AccessRules
Source§fn default() -> OAuth2AccessRules
fn default() -> OAuth2AccessRules
Source§impl<'de> Deserialize<'de> for OAuth2AccessRules
impl<'de> Deserialize<'de> for OAuth2AccessRules
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>,
Source§impl PartialEq for OAuth2AccessRules
impl PartialEq for OAuth2AccessRules
Source§fn eq(&self, other: &OAuth2AccessRules) -> bool
fn eq(&self, other: &OAuth2AccessRules) -> bool
self and other values to be equal, and is used by ==.