FederateToIdentityPoolResult class

The result of calling AmplifyAuthCognitoDart.federateToIdentityPool.

A successful result will include the identity ID and AWS credential retrieved from the configured Cognito Identity Pool.

Annotations
  • @zAmplifySerializable

Constructors

FederateToIdentityPoolResult({required String identityId, required AWSCredentials credentials})
The result of calling AmplifyAuthCognitoDart.federateToIdentityPool.
const
FederateToIdentityPoolResult.fromJson(Map<String, Object?> json)
The result of calling AmplifyAuthCognitoDart.federateToIdentityPool.
factory

Properties

credentials → AWSCredentials
The temporary AWS credentials of the authenticated user.
final
hashCode int
The hash code for this object.
no setterinherited
identityId String
The identity ID of the authenticated user.
final
props List<Object?>
The type's equatable properties.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
toString() String
A string representation of this object.
inherited

Operators

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