CognitoOAuthConfig class

The Cognito HostedUI configuration.

Mixed in types
Annotations

Constructors

CognitoOAuthConfig({required String appClientId, String? appClientSecret, required List<String> scopes, required String signInRedirectUri, required String signOutRedirectUri, required String webDomain, String? signInUri, String? signOutUri, String? tokenUri, Map<String, String>? signInUriQueryParameters, Map<String, String>? signOutUriQueryParameters, Map<String, String>? tokenUriQueryParameters})
const
CognitoOAuthConfig.fromJson(Map<String, Object?> json)
factory

Properties

appClientId String
The application ID.
final
appClientSecret String?
The application secret.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>
final
signInRedirectUri String
The redirect URI for sign in.
final
signInUri String?
final
signInUriQueryParameters Map<String, String>?
final
signOutRedirectUri String
final
signOutUri String?
final
signOutUriQueryParameters Map<String, String>?
final
tokenUri String?
final
tokenUriQueryParameters Map<String, String>?
final
webDomain String
The FQDN of your Cognito endpoint, e.g. https://mydomain.region.auth.amazoncognito.com.
final

Methods

copyWith({String? webDomain, String? appClientId, String? appClientSecret, String? signInRedirectUri, String? signInUri, Map<String, String>? signInUriQueryParameters, String? signOutRedirectUri, String? signOutUri, Map<String, String>? signOutUriQueryParameters, String? tokenUri, Map<String, String>? tokenUriQueryParameters, List<String>? scopes}) CognitoOAuthConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited