Auth
Overview
The Auth class is mainly used on the client side to access user information and request user authentication-related APIs.
Instance Properties
locale
The language used by the current user.
role
The role used by the current user.
token
API token.
authenticator
The authenticator used for the current user's authentication. See User Authentication.
Class Methods
signIn()
User sign in.
Signature
async signIn(values: any, authenticator?: string): Promise<AxiosResponse<any>>
Details
signUp()
User sign up.
Signature
async signUp(values: any, authenticator?: string): Promise<AxiosResponse<any>>
Details
signOut()
Sign out.
Signature
async signOut(values: any, authenticator?: string): Promise<AxiosResponse<any>>

