Interface ISignInUrlOptions
Options to customize the behaviour of signInUrl()
.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public interface ISignInUrlOptions : IBaseUrlOptions
Syntax (vb)
Public Interface ISignInUrlOptions
Inherits IBaseUrlOptions
Remarks
ExampleMetadata: infused
Examples
var userpool = new UserPool(this, "UserPool", new UserPoolProps { });
var client = userpool.AddClient("Client", new UserPoolClientOptions {
// ...
OAuth = new OAuthSettings {
Flows = new OAuthFlows {
ImplicitCodeGrant = true
},
CallbackUrls = new [] { "https://myapp.com/home", "https://myapp.com/users" }
}
});
var domain = userpool.AddDomain("Domain", new UserPoolDomainOptions { });
var signInUrl = domain.SignInUrl(client, new SignInUrlOptions {
RedirectUri = "https://myapp.com/home"
});
Synopsis
Properties
RedirectUri | Where to redirect to after sign in. |
SignInPath | The path in the URI where the sign-in page is located. |
Properties
RedirectUri
Where to redirect to after sign in.
string RedirectUri { get; }
Property Value
System.String
SignInPath
The path in the URI where the sign-in page is located.
virtual string SignInPath { get; }
Property Value
System.String
Remarks
Default: '/login'