Class UserPoolAuthenticationProvider
(experimental) Defines a User Pool Authentication Provider.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Cognito.IdentityPool.Alpha
Assembly: Amazon.CDK.AWS.Cognito.IdentityPool.Alpha.dll
Syntax (csharp)
public class UserPoolAuthenticationProvider : DeputyBase, IUserPoolAuthenticationProvider
Syntax (vb)
Public Class UserPoolAuthenticationProvider
Inherits DeputyBase
Implements IUserPoolAuthenticationProvider
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
IdentityPool identityPool;
var userPool = new UserPool(this, "Pool");
identityPool.AddUserPoolAuthentication(new UserPoolAuthenticationProvider(new UserPoolAuthenticationProviderProps {
UserPool = userPool,
DisableServerSideTokenCheck = true
}));
Synopsis
Constructors
User |
|
User |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
User |
Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, IIdentity |
(experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool. |
Constructors
UserPoolAuthenticationProvider(IUserPoolAuthenticationProviderProps)
public UserPoolAuthenticationProvider(IUserPoolAuthenticationProviderProps props)
Parameters
Remarks
Stability: Experimental
UserPoolAuthenticationProvider(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected UserPoolAuthenticationProvider(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
UserPoolAuthenticationProvider(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected UserPoolAuthenticationProvider(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
Methods
Bind(Construct, IIdentityPool, IUserPoolAuthenticationProviderBindOptions)
(experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
public virtual IUserPoolAuthenticationProviderBindConfig Bind(Construct scope, IIdentityPool identityPool, IUserPoolAuthenticationProviderBindOptions options = null)
Parameters
- scope Constructs.
Construct - identityPool IIdentity
Pool - options IUser
Pool Authentication Provider Bind Options
Returns
IUser
Remarks
Stability: Experimental