Vulos Documentation
  • Identity
    • Welcome to the Vulos Identity Documentation!
    • Quick Start
    • Organizations
    • Scopes and Claims
  • Reference
    • Identity JavaScript SDK
      • The Base Package
        • KYC
          • KycStatus
          • KycInstance
          • KycDetails
          • KycApi
        • Profile
          • UserReference
          • ProfileApi
        • Cache
        • Authentication
          • Application
          • BaseAuth
          • User
          • UserInfo
          • BaseApi
        • Organizations
          • Organization
          • OrganizationMembership
            • OrganizationMembershipWithMetadata
          • OrganizationRole
          • OrganizationApi
      • The Backend Auth Package
        • CodeVerifier
        • BackendAuth
      • The Frontend Auth Package
        • IFrameRefresh
        • StateVerifier
        • FrontendAuth
    • Organization API
      • Organizations
      • Memberships
        • Roles
    • Profile API
    • KYC API
Powered by GitBook
On this page
  • Members
  • id : string
  • profileApi : ProfileApi
  • Methods
  • constructor(id, profileApi)
  • async profile()
  1. Reference
  2. Identity JavaScript SDK
  3. The Base Package
  4. Profile

UserReference

PreviousProfileNextProfileApi

Last updated 3 years ago

Members

id : string

The ID of the user that this object references.

profileApi :

The Profile API instance that can be used for interaction.

Methods

constructor(id, profileApi)

Create an instance of this class.

  • id must be a user ID.

  • profileApi must be an instance of .

async profile()

Get this user's public profile.

This function returns an object that implements the interface.

const profile = await userRef.profile()
ProfileApi
ProfileApi
ProfileInfo