AmityUserTokenManager class
Token manager to generate the tokemn
Constructors
- AmityUserTokenManager({required AmityRegionalHttpEndpoint endpoint, required String apiKey})
- init Amity Token manager
Properties
- apiKey → String
-
API key for the network
final
- endpoint → AmityRegionalHttpEndpoint
-
Endpoint for the Evn
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createUserToken(
String userId, {String? displayname = '', String? secureToken = ''}) → Future< AmityUserToken> - Create Amity JWT toke for the userId
-
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