Struct aws_sdk_workspacesweb::model::identity_provider::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for IdentityProvider
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn identity_provider_arn(self, input: impl Into<String>) -> Self
pub fn identity_provider_arn(self, input: impl Into<String>) -> Self
The ARN of the identity provider.
sourcepub fn set_identity_provider_arn(self, input: Option<String>) -> Self
pub fn set_identity_provider_arn(self, input: Option<String>) -> Self
The ARN of the identity provider.
sourcepub fn identity_provider_name(self, input: impl Into<String>) -> Self
pub fn identity_provider_name(self, input: impl Into<String>) -> Self
The identity provider name.
sourcepub fn set_identity_provider_name(self, input: Option<String>) -> Self
pub fn set_identity_provider_name(self, input: Option<String>) -> Self
The identity provider name.
sourcepub fn identity_provider_type(self, input: IdentityProviderType) -> Self
pub fn identity_provider_type(self, input: IdentityProviderType) -> Self
The identity provider type.
sourcepub fn set_identity_provider_type(
self,
input: Option<IdentityProviderType>
) -> Self
pub fn set_identity_provider_type(
self,
input: Option<IdentityProviderType>
) -> Self
The identity provider type.
sourcepub fn identity_provider_details(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn identity_provider_details(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to identity_provider_details
.
To override the contents of this collection use set_identity_provider_details
.
The identity provider details. The following list describes the provider detail keys for each identity provider type.
-
For Google and Login with Amazon:
-
client_id
-
client_secret
-
authorize_scopes
-
-
For Facebook:
-
client_id
-
client_secret
-
authorize_scopes
-
api_version
-
-
For Sign in with Apple:
-
client_id
-
team_id
-
key_id
-
private_key
-
authorize_scopes
-
-
For OIDC providers:
-
client_id
-
client_secret
-
attributes_request_method
-
oidc_issuer
-
authorize_scopes
-
authorize_url
if not available from discovery URL specified by oidc_issuer key -
token_url
if not available from discovery URL specified by oidc_issuer key -
attributes_url
if not available from discovery URL specified by oidc_issuer key -
jwks_uri
if not available from discovery URL specified by oidc_issuer key
-
-
For SAML providers:
-
MetadataFile
ORMetadataURL
-
IDPSignout
optional
-
sourcepub fn set_identity_provider_details(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_identity_provider_details(
self,
input: Option<HashMap<String, String>>
) -> Self
The identity provider details. The following list describes the provider detail keys for each identity provider type.
-
For Google and Login with Amazon:
-
client_id
-
client_secret
-
authorize_scopes
-
-
For Facebook:
-
client_id
-
client_secret
-
authorize_scopes
-
api_version
-
-
For Sign in with Apple:
-
client_id
-
team_id
-
key_id
-
private_key
-
authorize_scopes
-
-
For OIDC providers:
-
client_id
-
client_secret
-
attributes_request_method
-
oidc_issuer
-
authorize_scopes
-
authorize_url
if not available from discovery URL specified by oidc_issuer key -
token_url
if not available from discovery URL specified by oidc_issuer key -
attributes_url
if not available from discovery URL specified by oidc_issuer key -
jwks_uri
if not available from discovery URL specified by oidc_issuer key
-
-
For SAML providers:
-
MetadataFile
ORMetadataURL
-
IDPSignout
optional
-
sourcepub fn build(self) -> IdentityProvider
pub fn build(self) -> IdentityProvider
Consumes the builder and constructs a IdentityProvider
.