Interface: IAuthModule<C>
@openmobilehub/auth-core.IAuthModule
Type parameters
Name | Type |
---|---|
C | extends PlatformAuthConfig |
Methods
getAccessToken
▸ getAccessToken(): Promise
<string
>
Returns
Promise
<string
>
Defined in
getUser
▸ getUser(): Promise
<OmhUserProfile
>
Returns
Promise
<OmhUserProfile
>
Defined in
initialize
▸ initialize(config
): Promise
<void
>
Parameters
Name | Type |
---|---|
config | C |
Returns
Promise
<void
>
Defined in
refreshAccessToken
▸ refreshAccessToken(): Promise
<string
>
Returns
Promise
<string
>
Defined in
revokeAccessToken
▸ revokeAccessToken(): Promise
<void
>
Returns
Promise
<void
>
Defined in
signIn
▸ signIn(): Promise
<void
>
Returns
Promise
<void
>
Defined in
signOut
▸ signOut(): Promise
<void
>
Returns
Promise
<void
>