pub struct IdentityProviderConfig {
pub identity_provider_id: String,
pub is_deactivated: Option<bool>,
pub issuer: String,
pub jwks_url: String,
pub audience: Option<String>,
}Fields§
§identity_provider_id: StringThe identity provider identifier Must be a valid LedgerString (as describe in value.proto). Required
is_deactivated: Option<bool>When set, the callers using JWT tokens issued by this identity provider are denied all access to the Ledger API. Modifiable Optional
issuer: StringSpecifies the issuer of the JWT token. The issuer value is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components. Modifiable Can be left empty when used in UpdateIdentityProviderConfigRequest if the issuer is not being updated. Required
jwks_url: StringThe JWKS (JSON Web Key Set) URL. The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported. Modifiable Required
audience: Option<String>Specifies the audience of the JWT token. When set, the callers using JWT tokens issued by this identity provider are allowed to get an access only if the "aud" claim includes the string specified here Modifiable Optional
Implementations§
Trait Implementations§
Source§impl Clone for IdentityProviderConfig
impl Clone for IdentityProviderConfig
Source§fn clone(&self) -> IdentityProviderConfig
fn clone(&self) -> IdentityProviderConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more