CognitoFetchAuthSessionOptions class

Cognito options for Amplify.Auth.fetchAuthSession.

Inheritance
Annotations
  • @zAmplifySerializable
  • @Deprecated(_deprecatedMessage)

Constructors

CognitoFetchAuthSessionOptions({@Deprecated(_getAWSCredentialsDeprecation) bool? getAWSCredentials = false, bool forceRefresh = false})
Cognito options for Amplify.Auth.fetchAuthSession.
const
CognitoFetchAuthSessionOptions.fromJson(Map<String, Object?> json)
Cognito options for Amplify.Auth.fetchAuthSession.
factory

Properties

forceRefresh bool
Whether to force a refresh of the cached credentials.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
pluginOptions → FetchAuthSessionPluginOptions?
Plugin-specific options for Amplify.Auth.fetchAuthSession.
no setteroverride
props List<Object?>
The type's equatable properties.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride

Methods

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