UserId

UserId

# new UserId(id)

Creates a UserId
Parameters:
Name Type Description
id string User ID.

Methods

# (static) create(id) → {UserId}

Create a single GetSocial user identifier.
Parameters:
Name Type Description
id string GetSocial user ID.
Returns:
New identifier.
Type
UserId

# (static) createForApp() → {UserId}

Create a single GetSocial user identifier for the app.
Returns:
New identifier
Type
UserId

# (static) currentUser() → {UserId}

Returns current user's ID
Returns:
Current user ID.
Type
UserId