#[non_exhaustive]pub struct ModifyVerifiedAccessTrustProviderOidcOptions {
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
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>
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 ModifyVerifiedAccessTrustProviderOidcOptions
impl ModifyVerifiedAccessTrustProviderOidcOptions
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 ModifyVerifiedAccessTrustProviderOidcOptions
impl ModifyVerifiedAccessTrustProviderOidcOptions
sourcepub fn builder() -> ModifyVerifiedAccessTrustProviderOidcOptionsBuilder
pub fn builder() -> ModifyVerifiedAccessTrustProviderOidcOptionsBuilder
Creates a new builder-style object to manufacture ModifyVerifiedAccessTrustProviderOidcOptions
.
Trait Implementations§
source§impl Clone for ModifyVerifiedAccessTrustProviderOidcOptions
impl Clone for ModifyVerifiedAccessTrustProviderOidcOptions
source§fn clone(&self) -> ModifyVerifiedAccessTrustProviderOidcOptions
fn clone(&self) -> ModifyVerifiedAccessTrustProviderOidcOptions
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 ModifyVerifiedAccessTrustProviderOidcOptions
impl PartialEq for ModifyVerifiedAccessTrustProviderOidcOptions
source§fn eq(&self, other: &ModifyVerifiedAccessTrustProviderOidcOptions) -> bool
fn eq(&self, other: &ModifyVerifiedAccessTrustProviderOidcOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyVerifiedAccessTrustProviderOidcOptions
Auto Trait Implementations§
impl Freeze for ModifyVerifiedAccessTrustProviderOidcOptions
impl RefUnwindSafe for ModifyVerifiedAccessTrustProviderOidcOptions
impl Send for ModifyVerifiedAccessTrustProviderOidcOptions
impl Sync for ModifyVerifiedAccessTrustProviderOidcOptions
impl Unpin for ModifyVerifiedAccessTrustProviderOidcOptions
impl UnwindSafe for ModifyVerifiedAccessTrustProviderOidcOptions
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.