Interfaces

Interface: AuthClient<T>

react-autonomy.AuthClient

Type parameters

Name

Type

T

any

Properties

client

client: T

Defined in



currentUrlHandlesCallback

Optional currentUrlHandlesCallback: () => boolean

Type declaration

▸ (): boolean

Returns

boolean

Defined in



getServiceClient

getServiceClient: () => T

Type declaration

▸ (): T

Returns

T

Defined in



getToken

getToken: () => Promise<string>

Type declaration

▸ (): Promise<string>

Returns

Promise<string>

Defined in



getUser

getUser: () => Promise<UserMetaData>

Type declaration

▸ (): Promise<UserMetaData>

Returns

Promise<UserMetaData>

Defined in



handleCallback

handleCallback: any

Defined in



isLoggedIn

isLoggedIn: () => Promise<boolean>

Type declaration

▸ (): Promise<boolean>

Returns

Promise<boolean>

Defined in



login

login: (props: any) => Promise<any>

Type declaration

▸ (props): Promise<any>

Parameters

Name

Type

props

any

Returns

Promise<any>

Defined in



logout

logout: () => Promise<boolean | void>

Type declaration

▸ (): Promise<boolean | void>

Returns

Promise<boolean | void>

Defined in