Skip to main content


React Native OMH Auth - Core

NPM downloadsNPM versionLicense

Chat on DiscordFollow on Twitter


Installation

npm add @openmobilehub/auth-core

Usage

The core modules exposes the OmhUserProfile type which you might find useful when working in a TypeScript React Native app.

import {type OmhUserProfile} from '@openmobilehub/auth-core';

// ... Auth Client initialization and sign in

const user: OmhUserProfile = await AuthClient.getUser();

License