npm add @openmobilehub/auth-core
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();
- See LICENSE