Struct aws_sdk_verifiedpermissions::types::builders::OpenIdConnectIdentityTokenConfigurationBuilder
source · #[non_exhaustive]pub struct OpenIdConnectIdentityTokenConfigurationBuilder { /* private fields */ }Expand description
A builder for OpenIdConnectIdentityTokenConfiguration.
Implementations§
source§impl OpenIdConnectIdentityTokenConfigurationBuilder
impl OpenIdConnectIdentityTokenConfigurationBuilder
sourcepub fn principal_id_claim(self, input: impl Into<String>) -> Self
pub fn principal_id_claim(self, input: impl Into<String>) -> Self
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn set_principal_id_claim(self, input: Option<String>) -> Self
pub fn set_principal_id_claim(self, input: Option<String>) -> Self
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn get_principal_id_claim(&self) -> &Option<String>
pub fn get_principal_id_claim(&self) -> &Option<String>
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn client_ids(self, input: impl Into<String>) -> Self
pub fn client_ids(self, input: impl Into<String>) -> Self
Appends an item to client_ids.
To override the contents of this collection use set_client_ids.
The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example, 1example23456789, 2example10111213.
sourcepub fn set_client_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_client_ids(self, input: Option<Vec<String>>) -> Self
The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example, 1example23456789, 2example10111213.
sourcepub fn get_client_ids(&self) -> &Option<Vec<String>>
pub fn get_client_ids(&self) -> &Option<Vec<String>>
The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example, 1example23456789, 2example10111213.
sourcepub fn build(self) -> OpenIdConnectIdentityTokenConfiguration
pub fn build(self) -> OpenIdConnectIdentityTokenConfiguration
Consumes the builder and constructs a OpenIdConnectIdentityTokenConfiguration.
Trait Implementations§
source§impl Clone for OpenIdConnectIdentityTokenConfigurationBuilder
impl Clone for OpenIdConnectIdentityTokenConfigurationBuilder
source§fn clone(&self) -> OpenIdConnectIdentityTokenConfigurationBuilder
fn clone(&self) -> OpenIdConnectIdentityTokenConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OpenIdConnectIdentityTokenConfigurationBuilder
impl Default for OpenIdConnectIdentityTokenConfigurationBuilder
source§fn default() -> OpenIdConnectIdentityTokenConfigurationBuilder
fn default() -> OpenIdConnectIdentityTokenConfigurationBuilder
source§impl PartialEq for OpenIdConnectIdentityTokenConfigurationBuilder
impl PartialEq for OpenIdConnectIdentityTokenConfigurationBuilder
source§fn eq(&self, other: &OpenIdConnectIdentityTokenConfigurationBuilder) -> bool
fn eq(&self, other: &OpenIdConnectIdentityTokenConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenIdConnectIdentityTokenConfigurationBuilder
Auto Trait Implementations§
impl Freeze for OpenIdConnectIdentityTokenConfigurationBuilder
impl RefUnwindSafe for OpenIdConnectIdentityTokenConfigurationBuilder
impl Send for OpenIdConnectIdentityTokenConfigurationBuilder
impl Sync for OpenIdConnectIdentityTokenConfigurationBuilder
impl Unpin for OpenIdConnectIdentityTokenConfigurationBuilder
impl UnwindSafe for OpenIdConnectIdentityTokenConfigurationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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