#[non_exhaustive]pub struct CreateVerifiedAccessTrustProviderOidcOptions {
pub issuer: Option<String>,
pub authorization_endpoint: Option<String>,
pub token_endpoint: Option<String>,
pub user_info_endpoint: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub scope: Option<String>,
}
Expand description
Describes the options when creating an Amazon Web Services Verified Access trust provider using the user
type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.issuer: Option<String>
The OIDC issuer.
The OIDC authorization endpoint.
token_endpoint: Option<String>
The OIDC token endpoint.
user_info_endpoint: Option<String>
The OIDC user info endpoint.
client_id: Option<String>
The client identifier.
client_secret: Option<String>
The client secret.
scope: Option<String>
OpenID Connect (OIDC) scopes are used by an application during authentication to authorize access to a user's details. Each scope returns a specific set of user attributes.
Implementations§
source§impl CreateVerifiedAccessTrustProviderOidcOptions
impl CreateVerifiedAccessTrustProviderOidcOptions
The OIDC authorization endpoint.
sourcepub fn token_endpoint(&self) -> Option<&str>
pub fn token_endpoint(&self) -> Option<&str>
The OIDC token endpoint.
sourcepub fn user_info_endpoint(&self) -> Option<&str>
pub fn user_info_endpoint(&self) -> Option<&str>
The OIDC user info endpoint.
sourcepub fn client_secret(&self) -> Option<&str>
pub fn client_secret(&self) -> Option<&str>
The client secret.
source§impl CreateVerifiedAccessTrustProviderOidcOptions
impl CreateVerifiedAccessTrustProviderOidcOptions
sourcepub fn builder() -> CreateVerifiedAccessTrustProviderOidcOptionsBuilder
pub fn builder() -> CreateVerifiedAccessTrustProviderOidcOptionsBuilder
Creates a new builder-style object to manufacture CreateVerifiedAccessTrustProviderOidcOptions
.
Trait Implementations§
source§impl Clone for CreateVerifiedAccessTrustProviderOidcOptions
impl Clone for CreateVerifiedAccessTrustProviderOidcOptions
source§fn clone(&self) -> CreateVerifiedAccessTrustProviderOidcOptions
fn clone(&self) -> CreateVerifiedAccessTrustProviderOidcOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for CreateVerifiedAccessTrustProviderOidcOptions
impl PartialEq for CreateVerifiedAccessTrustProviderOidcOptions
source§fn eq(&self, other: &CreateVerifiedAccessTrustProviderOidcOptions) -> bool
fn eq(&self, other: &CreateVerifiedAccessTrustProviderOidcOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVerifiedAccessTrustProviderOidcOptions
Auto Trait Implementations§
impl Freeze for CreateVerifiedAccessTrustProviderOidcOptions
impl RefUnwindSafe for CreateVerifiedAccessTrustProviderOidcOptions
impl Send for CreateVerifiedAccessTrustProviderOidcOptions
impl Sync for CreateVerifiedAccessTrustProviderOidcOptions
impl Unpin for CreateVerifiedAccessTrustProviderOidcOptions
impl UnwindSafe for CreateVerifiedAccessTrustProviderOidcOptions
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> 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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.