User Token Management
API token management is a login authentication process that allows an amity user to access amity applications in a unified and streamlined environment.
Amity iOS SDK provides AmityUserTokenManager to manage user credentials. This includes an access token that can be used to access some Beta features.
NOTE: Please be aware that we do not provide any API to support the usage of user tokens on the client SDK. To use this user token, you must interact with ASC services with your own effort.
To create a new user token, refer to the following example and the parameters are.
userId
: This is a required parameter of typeString
that represents the unique identifier of the user whose credentials are being managed by theAmityUserTokenManager
.displayName
: This is an optional parameter of typeString
that represents the display name of the user. If provided, it will be associated with the user's credentials.authToken
: This is an optional parameter of typeString
that represents the user's authentication token. If provided, it will be used to authenticate the user when accessing the Amity application. For furher information about security please visit the security page.
iOS
Android
JavaScript
TypeScript
Flutter
Creating iOS User Token
Version 6 and Beta(v0.0.1)
Creating Typescript User Token
Creating Typescript User Token
Last modified 3mo ago