Mobile Locker JavaScript SDK
    Preparing search index...

    Variable userConst

    user: { get(): Promise<User> } = ...

    Type Declaration

    • get: function
      • Get the currently authenticated user.

        Returns Promise<User>

        The authenticated User.

        MobileLockerError on network failure or server error.

        const u = await mobilelocker.user.get()
        console.log(`Hello, ${u.name}`)