Interfaces
Interface: AuthClient<T>
react-autonomy.AuthClient
Name | Type |
---|---|
T | any |
• client: T
• Optional currentUrlHandlesCallback: () => boolean
▸ (): boolean
boolean
• getServiceClient: () => T
▸ (): T
T
• getToken: () => Promise<string>
▸ (): Promise<string>
Promise<string>
• getUser: () => Promise<UserMetaData>
▸ (): Promise<UserMetaData>
Promise<UserMetaData>
• handleCallback: any
• isLoggedIn: () => Promise<boolean>
▸ (): Promise<boolean>
Promise<boolean>
• login: (props: any) => Promise<any>
▸ (props): Promise<any>
Name | Type |
---|---|
props | any |
Promise<any>
• logout: () => Promise<boolean | void>
▸ (): Promise<boolean | void>
Promise<boolean | void>