Module: @openmobilehub/auth-core
React Native OMH Auth Core
Interfaces
Type Aliases
AndroidAuthConfig
Ƭ AndroidAuthConfig: Object
Type declaration
Name | Type |
---|---|
scopes | string [] |
webClientId? | string |
Defined in
AuthConfig
Ƭ AuthConfig: AuthConfiguration
Defined in
AuthData
Ƭ AuthData: AuthorizeResult
Defined in
AuthModuleConfig
Ƭ AuthModuleConfig: Object
Type declaration
Name | Type |
---|---|
IOSAppAuthConfig | Partial <AuthConfig > |
IOSGetUser | IOSAuthFunction <OmhUserProfile > |
IOSRefreshAccessToken? | IOSAuthFunction <{ accessToken : string ; accessTokenExpirationDate : string }> |
IOSRevokeAccessToken? | IOSAuthFunction <void > |
moduleName | string |
Defined in
IOSAuthConfig
Ƭ IOSAuthConfig: Object
Type declaration
Name | Type |
---|---|
clientId | string |
clientSecret? | string |
redirectUrl | string |
scopes | string [] |
Defined in
PlatformAuthConfig
Ƭ PlatformAuthConfig<A
, I
>: Object
Type parameters
Name | Type |
---|---|
A | extends AndroidAuthConfig = AndroidAuthConfig |
I | extends IOSAuthConfig = IOSAuthConfig |
Type declaration
Name | Type |
---|---|
android? | Partial <A > |
ios? | Partial <I > |
Defined in
Functions
createAuthModule
▸ createAuthModule<C
>(moduleConfig
): IAuthModule
<C
>
Type parameters
Name | Type |
---|---|
C | extends PlatformAuthConfig = PlatformAuthConfig |
Parameters
Name | Type |
---|---|
moduleConfig | AuthModuleConfig |
Returns
IAuthModule
<C
>