Struct aws_sdk_verifiedpermissions::types::builders::OpenIdConnectAccessTokenConfigurationBuilder
source · #[non_exhaustive]pub struct OpenIdConnectAccessTokenConfigurationBuilder { /* private fields */ }Expand description
A builder for OpenIdConnectAccessTokenConfiguration.
Implementations§
source§impl OpenIdConnectAccessTokenConfigurationBuilder
impl OpenIdConnectAccessTokenConfigurationBuilder
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) -> OpenIdConnectAccessTokenConfiguration
pub fn build(self) -> OpenIdConnectAccessTokenConfiguration
Consumes the builder and constructs a OpenIdConnectAccessTokenConfiguration.
Trait Implementations§
source§impl Clone for OpenIdConnectAccessTokenConfigurationBuilder
impl Clone for OpenIdConnectAccessTokenConfigurationBuilder
source§fn clone(&self) -> OpenIdConnectAccessTokenConfigurationBuilder
fn clone(&self) -> OpenIdConnectAccessTokenConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OpenIdConnectAccessTokenConfigurationBuilder
impl Default for OpenIdConnectAccessTokenConfigurationBuilder
source§fn default() -> OpenIdConnectAccessTokenConfigurationBuilder
fn default() -> OpenIdConnectAccessTokenConfigurationBuilder
source§impl PartialEq for OpenIdConnectAccessTokenConfigurationBuilder
impl PartialEq for OpenIdConnectAccessTokenConfigurationBuilder
source§fn eq(&self, other: &OpenIdConnectAccessTokenConfigurationBuilder) -> bool
fn eq(&self, other: &OpenIdConnectAccessTokenConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenIdConnectAccessTokenConfigurationBuilder
Auto Trait Implementations§
impl Freeze for OpenIdConnectAccessTokenConfigurationBuilder
impl RefUnwindSafe for OpenIdConnectAccessTokenConfigurationBuilder
impl Send for OpenIdConnectAccessTokenConfigurationBuilder
impl Sync for OpenIdConnectAccessTokenConfigurationBuilder
impl Unpin for OpenIdConnectAccessTokenConfigurationBuilder
impl UnwindSafe for OpenIdConnectAccessTokenConfigurationBuilder
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