new JanrainCapture(options, authData)#
Parse Server Configuration#
To configure Parse Server for Janrain Capture authentication, use the following structure:
{ "auth": { "janrain": { "janrain_capture_host": "your-janrain-capture-host" } } }
The adapter requires the following authData
fields:
id
: The Janrain Capture user ID.access_token
: An authorized Janrain Capture access token for the user.
Auth Payload Example#
{ "janrain": { "id": "user's Janrain Capture ID as a string", "access_token": "an authorized Janrain Capture access token for the user" } }
Notes#
Parse Server validates the provided authData
using the Janrain Capture API.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | Object | The adapter configuration options. Properties
| |||||||||
authData | Object | The authentication data provided by the client. Properties
|