Skip to main content

Interface: IAuthModule<C>

@openmobilehub/auth-core.IAuthModule

Type parameters

NameType
Cextends PlatformAuthConfig

Methods

getAccessToken

getAccessToken(): Promise<string>

Returns

Promise<string>

Defined in

core/src/types.ts:29


getUser

getUser(): Promise<OmhUserProfile>

Returns

Promise<OmhUserProfile>

Defined in

core/src/types.ts:30


initialize

initialize(config): Promise<void>

Parameters

NameType
configC

Returns

Promise<void>

Defined in

core/src/types.ts:27


refreshAccessToken

refreshAccessToken(): Promise<string>

Returns

Promise<string>

Defined in

core/src/types.ts:31


revokeAccessToken

revokeAccessToken(): Promise<void>

Returns

Promise<void>

Defined in

core/src/types.ts:32


signIn

signIn(): Promise<void>

Returns

Promise<void>

Defined in

core/src/types.ts:28


signOut

signOut(): Promise<void>

Returns

Promise<void>

Defined in

core/src/types.ts:33