Class IdentityPoolProviderUrl
(experimental) Keys for Login Providers - correspond to client id's of respective federation identity providers.
Inheritance
Namespace: Amazon.CDK.AWS.Cognito.IdentityPool
Assembly: Amazon.CDK.AWS.Cognito.IdentityPool.dll
Syntax (csharp)
public class IdentityPoolProviderUrl : DeputyBase
Syntax (vb)
Public Class IdentityPoolProviderUrl
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Cognito.IdentityPool;
new IdentityPool(this, "myidentitypool", new IdentityPoolProps {
IdentityPoolName = "myidentitypool",
RoleMappings = new [] { new IdentityPoolRoleMapping {
ProviderUrl = IdentityPoolProviderUrl.UserPool("cognito-idp.my-idp-region.amazonaws.com/my-idp-region_abcdefghi:app_client_id"),
UseToken = true
}, new IdentityPoolRoleMapping {
ProviderUrl = IdentityPoolProviderUrl.Custom("my-custom-provider.com"),
UseToken = true
} }
});
Synopsis
Constructors
IdentityPoolProviderUrl(IdentityPoolProviderType, String) | |
IdentityPoolProviderUrl(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
IdentityPoolProviderUrl(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AMAZON | (experimental) Amazon Provider Url. |
APPLE | (experimental) Apple Provider Url. |
DIGITS | (experimental) Digits Provider Url. |
(experimental) Facebook Provider Url. |
|
(experimental) Google Provider Url. |
|
(experimental) Twitter Provider Url. |
|
Type | (experimental) type of Provider Url. |
Value | (experimental) value of Provider Url. |
Methods
Custom(String) | (experimental) Custom Provider Url. |
OpenId(String) | (experimental) OpenId Provider Url. |
Saml(String) | (experimental) Saml Provider Url. |
UserPool(String) | (experimental) User Pool Provider Url. |
Constructors
IdentityPoolProviderUrl(IdentityPoolProviderType, String)
public IdentityPoolProviderUrl(IdentityPoolProviderType type, string value)
Parameters
- type IdentityPoolProviderType
type of Provider Url.
- value System.String
value of Provider Url.
Remarks
Stability: Experimental
IdentityPoolProviderUrl(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected IdentityPoolProviderUrl(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
IdentityPoolProviderUrl(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected IdentityPoolProviderUrl(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AMAZON
(experimental) Amazon Provider Url.
public static IdentityPoolProviderUrl AMAZON { get; }
Property Value
Remarks
Stability: Experimental
APPLE
(experimental) Apple Provider Url.
public static IdentityPoolProviderUrl APPLE { get; }
Property Value
Remarks
Stability: Experimental
DIGITS
(experimental) Digits Provider Url.
public static IdentityPoolProviderUrl DIGITS { get; }
Property Value
Remarks
Stability: Experimental
(experimental) Facebook Provider Url.
public static IdentityPoolProviderUrl FACEBOOK { get; }
Property Value
Remarks
Stability: Experimental
(experimental) Google Provider Url.
public static IdentityPoolProviderUrl GOOGLE { get; }
Property Value
Remarks
Stability: Experimental
(experimental) Twitter Provider Url.
public static IdentityPoolProviderUrl TWITTER { get; }
Property Value
Remarks
Stability: Experimental
Type
(experimental) type of Provider Url.
public virtual IdentityPoolProviderType Type { get; }
Property Value
Remarks
Stability: Experimental
Value
(experimental) value of Provider Url.
public virtual string Value { get; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
Custom(String)
(experimental) Custom Provider Url.
public static IdentityPoolProviderUrl Custom(string url)
Parameters
- url System.String
Returns
Remarks
Stability: Experimental
OpenId(String)
(experimental) OpenId Provider Url.
public static IdentityPoolProviderUrl OpenId(string url)
Parameters
- url System.String
Returns
Remarks
Stability: Experimental
Saml(String)
(experimental) Saml Provider Url.
public static IdentityPoolProviderUrl Saml(string url)
Parameters
- url System.String
Returns
Remarks
Stability: Experimental
UserPool(String)
(experimental) User Pool Provider Url.
public static IdentityPoolProviderUrl UserPool(string url)
Parameters
- url System.String
Returns
Remarks
Stability: Experimental