Globals / "Authentication" / IAuthentication /
- IAuthentication
• refreshInterval? : number
Defined in Authentication.ts:31
▸ login(credentials
: ILoginCredentials, options?
: ILoginOptions): Promise<IAuthenticateResponse>
Defined in Authentication.ts:32
Parameters:
Name | Type |
---|---|
credentials |
ILoginCredentials |
options? |
ILoginOptions |
Returns: Promise<IAuthenticateResponse>
▸ logout(): Promise<ILogoutResponse>
Defined in Authentication.ts:33
Returns: Promise<ILogoutResponse>
▸ refresh(token
: string): Promise<IRefreshTokenResponse>
Defined in Authentication.ts:35
Parameters:
Name | Type |
---|---|
token |
string |
Returns: Promise<IRefreshTokenResponse>
▸ refreshIfNeeded(): Promise<[boolean, Error]>
Defined in Authentication.ts:34
Returns: Promise<[boolean, Error]>