Struct aws_sdk_verifiedpermissions::types::builders::OpenIdConnectAccessTokenConfigurationItemBuilder
source · #[non_exhaustive]pub struct OpenIdConnectAccessTokenConfigurationItemBuilder { /* private fields */ }Expand description
A builder for OpenIdConnectAccessTokenConfigurationItem.
Implementations§
source§impl OpenIdConnectAccessTokenConfigurationItemBuilder
impl OpenIdConnectAccessTokenConfigurationItemBuilder
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 audiences(self, input: impl Into<String>) -> Self
pub fn audiences(self, input: impl Into<String>) -> Self
Appends an item to audiences.
To override the contents of this collection use set_audiences.
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.
sourcepub fn set_audiences(self, input: Option<Vec<String>>) -> Self
pub fn set_audiences(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_audiences(&self) -> &Option<Vec<String>>
pub fn get_audiences(&self) -> &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.
sourcepub fn build(self) -> OpenIdConnectAccessTokenConfigurationItem
pub fn build(self) -> OpenIdConnectAccessTokenConfigurationItem
Consumes the builder and constructs a OpenIdConnectAccessTokenConfigurationItem.
Trait Implementations§
source§impl Clone for OpenIdConnectAccessTokenConfigurationItemBuilder
impl Clone for OpenIdConnectAccessTokenConfigurationItemBuilder
source§fn clone(&self) -> OpenIdConnectAccessTokenConfigurationItemBuilder
fn clone(&self) -> OpenIdConnectAccessTokenConfigurationItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OpenIdConnectAccessTokenConfigurationItemBuilder
impl Default for OpenIdConnectAccessTokenConfigurationItemBuilder
source§fn default() -> OpenIdConnectAccessTokenConfigurationItemBuilder
fn default() -> OpenIdConnectAccessTokenConfigurationItemBuilder
source§impl PartialEq for OpenIdConnectAccessTokenConfigurationItemBuilder
impl PartialEq for OpenIdConnectAccessTokenConfigurationItemBuilder
source§fn eq(&self, other: &OpenIdConnectAccessTokenConfigurationItemBuilder) -> bool
fn eq(&self, other: &OpenIdConnectAccessTokenConfigurationItemBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenIdConnectAccessTokenConfigurationItemBuilder
Auto Trait Implementations§
impl Freeze for OpenIdConnectAccessTokenConfigurationItemBuilder
impl RefUnwindSafe for OpenIdConnectAccessTokenConfigurationItemBuilder
impl Send for OpenIdConnectAccessTokenConfigurationItemBuilder
impl Sync for OpenIdConnectAccessTokenConfigurationItemBuilder
impl Unpin for OpenIdConnectAccessTokenConfigurationItemBuilder
impl UnwindSafe for OpenIdConnectAccessTokenConfigurationItemBuilder
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