Struct aws_sdk_ec2::types::OidcOptions
source · #[non_exhaustive]pub struct OidcOptions {
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 for an OpenID Connect-compatible user-identity trust provider.
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>
The OpenID Connect (OIDC) scope specified.
Implementations§
source§impl OidcOptions
impl OidcOptions
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 OidcOptions
impl OidcOptions
sourcepub fn builder() -> OidcOptionsBuilder
pub fn builder() -> OidcOptionsBuilder
Creates a new builder-style object to manufacture OidcOptions
.
Trait Implementations§
source§impl Clone for OidcOptions
impl Clone for OidcOptions
source§fn clone(&self) -> OidcOptions
fn clone(&self) -> OidcOptions
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 Debug for OidcOptions
impl Debug for OidcOptions
source§impl PartialEq for OidcOptions
impl PartialEq for OidcOptions
source§fn eq(&self, other: &OidcOptions) -> bool
fn eq(&self, other: &OidcOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OidcOptions
Auto Trait Implementations§
impl Freeze for OidcOptions
impl RefUnwindSafe for OidcOptions
impl Send for OidcOptions
impl Sync for OidcOptions
impl Unpin for OidcOptions
impl UnwindSafe for OidcOptions
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.