Retrieve authentication options

Request

Retrieves customer authentication options.

Security
SecretApiKey or JWT
curl -i -X GET \
  https://www.rebilly.com/_mock/catalog/all/authentication-options \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Authentication options retrieved.

Bodyapplication/json
passwordPatternstring or null

Allowed password pattern.

Example:"/^[0-9]+$/"
credentialTtlinteger

Default credential lifetime, in seconds.

authTokenTtlinteger

Default auth-token lifetime, in seconds.

resetTokenTtlinteger

Default reset-token lifetime, in seconds.

otpRequiredboolean

Specifies if a One-Time Password (OTP) is required to exchange a token.

Response
{ "passwordPattern": "/^[0-9]+$/", "credentialTtl": 0, "authTokenTtl": 0, "resetTokenTtl": 0, "otpRequired": true, "_links": [ {} ] }