#[non_exhaustive]pub struct IdentitySourceDetails {
pub client_ids: Option<Vec<String>>,
pub user_pool_arn: Option<String>,
pub discovery_url: Option<String>,
pub open_id_issuer: Option<OpenIdIssuer>,
}Expand description
A structure that contains configuration of the identity source.
This data type is used as a response parameter for the CreateIdentitySource operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_ids: Option<Vec<String>>The application client IDs associated with the specified Amazon Cognito user pool that are enabled for this identity source.
user_pool_arn: Option<String>The Amazon Resource Name (ARN) of the Amazon Cognito user pool whose identities are accessible to this Verified Permissions policy store.
discovery_url: Option<String>The well-known URL that points to this user pool's OIDC discovery endpoint. This is a URL string in the following format. This URL replaces the placeholders for both the Amazon Web Services Region and the user pool identifier with those appropriate for this user pool.
https://cognito-idp.<region>.amazonaws.com/<user-pool-id>/.well-known/openid-configuration
open_id_issuer: Option<OpenIdIssuer>A string that identifies the type of OIDC service represented by this identity source.
At this time, the only valid value is cognito.
Implementations§
source§impl IdentitySourceDetails
impl IdentitySourceDetails
sourcepub fn client_ids(&self) -> &[String]
pub fn client_ids(&self) -> &[String]
The application client IDs associated with the specified Amazon Cognito user pool that are enabled for this identity source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .client_ids.is_none().
sourcepub fn user_pool_arn(&self) -> Option<&str>
pub fn user_pool_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Cognito user pool whose identities are accessible to this Verified Permissions policy store.
sourcepub fn discovery_url(&self) -> Option<&str>
pub fn discovery_url(&self) -> Option<&str>
The well-known URL that points to this user pool's OIDC discovery endpoint. This is a URL string in the following format. This URL replaces the placeholders for both the Amazon Web Services Region and the user pool identifier with those appropriate for this user pool.
https://cognito-idp.<region>.amazonaws.com/<user-pool-id>/.well-known/openid-configuration
sourcepub fn open_id_issuer(&self) -> Option<&OpenIdIssuer>
pub fn open_id_issuer(&self) -> Option<&OpenIdIssuer>
A string that identifies the type of OIDC service represented by this identity source.
At this time, the only valid value is cognito.
source§impl IdentitySourceDetails
impl IdentitySourceDetails
sourcepub fn builder() -> IdentitySourceDetailsBuilder
pub fn builder() -> IdentitySourceDetailsBuilder
Creates a new builder-style object to manufacture IdentitySourceDetails.
Trait Implementations§
source§impl Clone for IdentitySourceDetails
impl Clone for IdentitySourceDetails
source§fn clone(&self) -> IdentitySourceDetails
fn clone(&self) -> IdentitySourceDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IdentitySourceDetails
impl Debug for IdentitySourceDetails
source§impl PartialEq for IdentitySourceDetails
impl PartialEq for IdentitySourceDetails
source§fn eq(&self, other: &IdentitySourceDetails) -> bool
fn eq(&self, other: &IdentitySourceDetails) -> bool
self and other values to be equal, and is used
by ==.