Credentials class

Contains credentials to use for federation.

Constructors

Credentials({String? accessToken, DateTime? accessTokenExpiration, String? refreshToken, DateTime? refreshTokenExpiration})
Credentials.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken String?
An access token generated for a federated user to access Amazon Connect.
final
accessTokenExpiration DateTime?
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
final
hashCode int
The hash code for this object.
no setterinherited
refreshToken String?
Renews a token generated for a user to access the Amazon Connect instance.
final
refreshTokenExpiration DateTime?
Renews the expiration timer for a generated token.
final
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
toString() String
A string representation of this object.
inherited

Operators

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