Properties
getValidAccessToken
getValidAccessToken: ((options?: {
refreshToken?: string;
userId?: string;
}) => Promise<string>)
Type declaration
-
- (options?: {
refreshToken?: string;
userId?: string;
}): Promise<string>
-
Parameters
-
Optional
options: {
refreshToken?: string;
userId?: string;
}
-
Optional
refreshToken?: string
-
Optional
userId?: string
Returns Promise<string>
isAuthenticated
isAuthenticated: ((userId?: string) => Promise<boolean>)
Type declaration
-
- (userId?: string): Promise<boolean>
-
Returns Promise<boolean>
loginSetup
loginSetup: loginSetupFn
logoutAllUsers
logoutAllUsers: (() => Promise<{
[userId: string]: boolean;
}>)
Type declaration
-
- (): Promise<{
[userId: string]: boolean;
}>
-
Returns Promise<{
[userId: string]: boolean;
}>
logoutCurrentUser
logoutCurrentUser: logoutCurrentUserFn
logoutUser
logoutUser: ((userId?: string) => Promise<boolean>)
Type declaration
-
- (userId?: string): Promise<boolean>
-
Returns Promise<boolean>
refreshAccessToken
refreshAccessToken: ((refreshToken?: string, codeChallenge?: string, omitAuthorizationHeaders?: boolean) => Promise<string>)
Type declaration
-
- (refreshToken?: string, codeChallenge?: string, omitAuthorizationHeaders?: boolean): Promise<string>
-
Parameters
-
Optional
refreshToken: string
-
Optional
codeChallenge: string
-
Optional
omitAuthorizationHeaders: boolean
Returns Promise<string>
register
register: registerFn
registerSetup
registerSetup: registerSetupFn
sendNewPassword
sendNewPassword: sendNewPasswordFn
sendResetPasswordEmail
sendResetPasswordEmail: sendResetPasswordEmailFn
Deprecated