user
const user: { get: Promise<User>;};Defined in: domains/user.ts:8
Type Declaration
Section titled “Type Declaration”get(): Promise<User>;Get the currently authenticated user.
Returns
Section titled “Returns”Promise<User>
The authenticated User.
Throws
Section titled “Throws”MobileLockerError on network failure or server error.
Example
Section titled “Example”const u = await mobilelocker.user.get()console.log(`Hello, ${u.name}`)