#[non_exhaustive]pub struct UpdateOpenIdConnectAccessTokenConfiguration {
pub principal_id_claim: String,
pub audiences: Option<Vec<String>>,
}Expand description
The configuration of an OpenID Connect (OIDC) identity source for handling access token claims. Contains the claim that you want to identify as the principal in an authorization request, and the values of the aud claim, or audiences, that you want to accept.
This data type is part of a UpdateOpenIdConnectTokenSelection structure, which is a parameter to UpdateIdentitySource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.principal_id_claim: StringThe claim that determines the principal in OIDC access tokens. For example, sub.
audiences: Option<Vec<String>>The access token aud claim values that you want to accept in your policy store. For example, https://myapp.example.com, https://myapp2.example.com.
Implementations§
source§impl UpdateOpenIdConnectAccessTokenConfiguration
impl UpdateOpenIdConnectAccessTokenConfiguration
sourcepub fn principal_id_claim(&self) -> &str
pub fn principal_id_claim(&self) -> &str
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn audiences(&self) -> &[String]
pub fn audiences(&self) -> &[String]
The access token aud claim values that you want to accept in your policy store. For example, https://myapp.example.com, https://myapp2.example.com.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .audiences.is_none().
source§impl UpdateOpenIdConnectAccessTokenConfiguration
impl UpdateOpenIdConnectAccessTokenConfiguration
sourcepub fn builder() -> UpdateOpenIdConnectAccessTokenConfigurationBuilder
pub fn builder() -> UpdateOpenIdConnectAccessTokenConfigurationBuilder
Creates a new builder-style object to manufacture UpdateOpenIdConnectAccessTokenConfiguration.
Trait Implementations§
source§impl Clone for UpdateOpenIdConnectAccessTokenConfiguration
impl Clone for UpdateOpenIdConnectAccessTokenConfiguration
source§fn clone(&self) -> UpdateOpenIdConnectAccessTokenConfiguration
fn clone(&self) -> UpdateOpenIdConnectAccessTokenConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateOpenIdConnectAccessTokenConfiguration
impl PartialEq for UpdateOpenIdConnectAccessTokenConfiguration
source§fn eq(&self, other: &UpdateOpenIdConnectAccessTokenConfiguration) -> bool
fn eq(&self, other: &UpdateOpenIdConnectAccessTokenConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOpenIdConnectAccessTokenConfiguration
Auto Trait Implementations§
impl Freeze for UpdateOpenIdConnectAccessTokenConfiguration
impl RefUnwindSafe for UpdateOpenIdConnectAccessTokenConfiguration
impl Send for UpdateOpenIdConnectAccessTokenConfiguration
impl Sync for UpdateOpenIdConnectAccessTokenConfiguration
impl Unpin for UpdateOpenIdConnectAccessTokenConfiguration
impl UnwindSafe for UpdateOpenIdConnectAccessTokenConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more