Interface IUserPoolIdentityProviderGoogleProps
Properties to initialize UserPoolGoogleIdentityProvider.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IUserPoolIdentityProviderGoogleProps : IUserPoolIdentityProviderProps
Syntax (vb)
Public Interface IUserPoolIdentityProviderGoogleProps
Inherits IUserPoolIdentityProviderProps
Remarks
ExampleMetadata: infused
Examples
var userpool = new UserPool(this, "Pool");
var secret = Secret.FromSecretAttributes(this, "CognitoClientSecret", new SecretAttributes {
SecretCompleteArn = "arn:aws:secretsmanager:xxx:xxx:secret:xxx-xxx"
}).SecretValue;
var provider = new UserPoolIdentityProviderGoogle(this, "Google", new UserPoolIdentityProviderGoogleProps {
ClientId = "amzn-client-id",
ClientSecretValue = secret,
UserPool = userpool
});
Synopsis
Properties
ClientId | The client id recognized by Google APIs. |
ClientSecret | (deprecated) The client secret to be accompanied with clientId for Google APIs to authenticate the client. |
ClientSecretValue | The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue. |
Scopes | The list of Google permissions to obtain for getting access to the Google profile. |
Properties
ClientId
The client id recognized by Google APIs.
string ClientId { get; }
Property Value
System.String
Remarks
ClientSecret
(deprecated) The client secret to be accompanied with clientId for Google APIs to authenticate the client.
virtual string ClientSecret { get; }
Property Value
System.String
Remarks
ClientSecretValue
The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue.
virtual SecretValue ClientSecretValue { get; }
Property Value
Remarks
Default: none
See: https://developers.google.com/identity/sign-in/web/sign-in
Scopes
The list of Google permissions to obtain for getting access to the Google profile.
virtual string[] Scopes { get; }
Property Value
System.String[]
Remarks
Default: [ profile ]
See: https://developers.google.com/identity/sign-in/web/sign-in