# new Auth()
- Source:
Methods
# (static) authenticate(params) → {Promise.<AuthResponse>}
Authenticate with GetSocial.
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | Authentication parameters.
Properties
|
- Source:
Returns:
A Promise for the authenticated user and referral information.
- Type
- Promise.<AuthResponse>
# (static) logout()
Logs out the current user.
- Source: