@openmobilehub/auth-core
v1.0.6
Published
React Native OMH Auth - Core provides a comprehensive authentication solution for React Native applications. It offers a simple API to integrate authentication workflows seamlessly into both new and existing projects.
Downloads
33
Keywords
Readme
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
- See LICENSE