pub struct TrustedIssuer {
pub issuer: String,
pub jwks_uri: String,
pub audience: String,
pub typ_allowlist: Vec<String>,
pub allowed_client_ids: Vec<String>,
pub can_issue_id_jag: bool,
}Expand description
A federated identity provider trusted for the RFC 8693 token-exchange and EMA (Enterprise-Managed Authorization) paths.
audience holds the value the IdP places in id_token.aud; for a
Salesforce Connected App that is its client_id, not a URL.
Fields§
§issuer: String§jwks_uri: String§audience: String§typ_allowlist: Vec<String>Accepted JOSE typ header values; empty accepts any.
allowed_client_ids: Vec<String>client_id/azp values accepted on the EMA consume path; empty accepts
any.
can_issue_id_jag: boolWhether this issuer’s id_token may seed the EMA ID-JAG issuance path.
Trait Implementations§
Source§impl Clone for TrustedIssuer
impl Clone for TrustedIssuer
Source§fn clone(&self) -> TrustedIssuer
fn clone(&self) -> TrustedIssuer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrustedIssuer
impl Debug for TrustedIssuer
Source§impl<'de> Deserialize<'de> for TrustedIssuer
impl<'de> Deserialize<'de> for TrustedIssuer
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
impl Eq for TrustedIssuer
Source§impl JsonSchema for TrustedIssuer
impl JsonSchema for TrustedIssuer
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TrustedIssuer
impl PartialEq for TrustedIssuer
Source§fn eq(&self, other: &TrustedIssuer) -> bool
fn eq(&self, other: &TrustedIssuer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrustedIssuer
impl Serialize for TrustedIssuer
impl StructuralPartialEq for TrustedIssuer
Auto Trait Implementations§
impl Freeze for TrustedIssuer
impl RefUnwindSafe for TrustedIssuer
impl Send for TrustedIssuer
impl Sync for TrustedIssuer
impl Unpin for TrustedIssuer
impl UnsafeUnpin for TrustedIssuer
impl UnwindSafe for TrustedIssuer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.