AuthenticateCognitoActionConfig class
Request parameters to use when integrating with Amazon Cognito to authenticate users.
Constructors
-
AuthenticateCognitoActionConfig({required String userPoolArn, required String userPoolClientId, required String userPoolDomain, Map<
String, String> ? authenticationRequestExtraParams, AuthenticateCognitoActionConditionalBehaviorEnum? onUnauthenticatedRequest, String? scope, String? sessionCookieName, int? sessionTimeout}) - AuthenticateCognitoActionConfig.fromXml(XmlElement elem)
-
factory
Properties
-
authenticationRequestExtraParams
→ Map<
String, String> ? -
The query parameters (up to 10) to include in the redirect request to the
authorization endpoint.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onUnauthenticatedRequest → AuthenticateCognitoActionConditionalBehaviorEnum?
-
The behavior if the user is not authenticated. The following are possible
values:
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
The set of user claims to be requested from the IdP. The default is
openid
.final - sessionCookieName → String?
-
The name of the cookie used to maintain session information. The default is
AWSELBAuthSessionCookie.
final
- sessionTimeout → int?
-
The maximum duration of the authentication session, in seconds. The default
is 604800 seconds (7 days).
final
- userPoolArn → String
-
The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
final
- userPoolClientId → String
-
The ID of the Amazon Cognito user pool client.
final
- userPoolDomain → String
-
The domain prefix or fully-qualified domain name of the Amazon Cognito user
pool.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited