WorkforcePoolProviderExtraAttributesOauth2Client constructor

const WorkforcePoolProviderExtraAttributesOauth2Client({
  1. required Input<String> attributesType,
  2. required Input<String> clientId,
  3. required Input<WorkforcePoolProviderExtraAttributesOauth2ClientClientSecret> clientSecret,
  4. required Input<String> issuerUri,
  5. Input<WorkforcePoolProviderExtraAttributesOauth2ClientQueryParameters?>? queryParameters,
})

Creates a new WorkforcePoolProviderExtraAttributesOauth2Client. attributesType Represents the IdP and type of claims that should be fetched. clientId The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow. clientSecret The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow. issuerUri The OIDC identity provider's issuer URI. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document. queryParameters Represents the parameters to control which claims are fetched from an IdP.

Implementation

const WorkforcePoolProviderExtraAttributesOauth2Client({
  required this.attributesType,
  required this.clientId,
  required this.clientSecret,
  required this.issuerUri,
  this.queryParameters,
});