/settings/keys

Returns all the keys for a particular client, including those from the application-wide default settings. Returns an array of the keys.

This endpoint includes the following methods:

  • GET

GET

Authentication

This endpoint supports Basic authentication. 

How to Create an Authentication String

Base URL

The base URL for this endpoint is your Janrain Capture domain; for example:

https://educationcenter.us-dev.janraincapture.com

Your Capture domains (also known as Registration domains) can be found in the Janrain Console on the Manage Application page:

Examples

Example Request


curl -G -H "Authorization: Basic aW1fYV...NfbXk="\
    --data-urlencode for_client_id=fghi7890fghi7890 \
    https://my-app.janraincapture.com/settings/keys
  
      Running this command in Postman

Authorized Clients

  • owner 
  • login_client 
  • direct_read_access 
  • direct_access 
  • access_issuer

Security

  •  janrain-signed
  •  basic-auth

Query Parameters

Parameter Type Required Description
for_client_id string Client ID of the client whose keys are being retrieved. Note that only the application owner is authorized to make requests using this parameter.
 

Responses

200 OK

Response Example (application/json)


{
  "result": [
    "level",
    "owner",
    "public"
  ],
  "stat": "ok"
}