Challenge Display Information
/oam/services/rest/auth/api/v1/mfa/challengeDisplayInfo
Get display information for user attributes used in challenges.
Request
- application/json
- application/xml
-
appName: string
App name for application requesting challenge display information
-
challengeType(optional): string
Types of challenge to return challenge display information for
-
idStore(optional): string
Identity Store Reference to find supplied user.
-
userId: string
User ID of user to get challenge display information for.
Response
- application/json
- application/xml
200 Response
object
-
challengeInfoList(optional):
array challengeInfoList
Array of challenge info objects.
-
message(optional):
string
Message describing error, if any.
-
minorCode(optional):
string
Minor code indicating error details.
-
resultCode(optional):
string
Response code indicating success (0) or error.
array
-
Array of:
object ChallengeInfo
object
-
challengeType(optional):
string
Type of challenge associated with this piece of information (sms|email|totp|...)
-
contact(optional):
string
Email/phone number associated with the challenge type.
-
prompt(optional):
string
Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.
401 Response
404 Response
422 Response
object
-
challengeInfoList(optional):
array challengeInfoList
Array of challenge info objects.
-
message(optional):
string
Message describing error, if any.
-
minorCode(optional):
string
Minor code indicating error details.
-
resultCode(optional):
string
Response code indicating success (0) or error.
array
-
Array of:
object ChallengeInfo
object
-
challengeType(optional):
string
Type of challenge associated with this piece of information (sms|email|totp|...)
-
contact(optional):
string
Email/phone number associated with the challenge type.
-
prompt(optional):
string
Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.
500 Response
object
-
challengeInfoList(optional):
array challengeInfoList
Array of challenge info objects.
-
message(optional):
string
Message describing error, if any.
-
minorCode(optional):
string
Minor code indicating error details.
-
resultCode(optional):
string
Response code indicating success (0) or error.
array
-
Array of:
object ChallengeInfo
object
-
challengeType(optional):
string
Type of challenge associated with this piece of information (sms|email|totp|...)
-
contact(optional):
string
Email/phone number associated with the challenge type.
-
prompt(optional):
string
Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.
Default Response
object
-
challengeInfoList(optional):
array challengeInfoList
Array of challenge info objects.
-
message(optional):
string
Message describing error, if any.
-
minorCode(optional):
string
Minor code indicating error details.
-
resultCode(optional):
string
Response code indicating success (0) or error.
array
-
Array of:
object ChallengeInfo
object
-
challengeType(optional):
string
Type of challenge associated with this piece of information (sms|email|totp|...)
-
contact(optional):
string
Email/phone number associated with the challenge type.
-
prompt(optional):
string
Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.
Examples
This example demonstrates the method to get information for user attributes used in challenges.
Example of the Response Headers
curl -X GET \ 'http://hostname:port/oam/services/rest/auth/api/v1/mfa/challengeDisplayInfo?userId=weblogic&appName=TestApp' \ -H 'authorization: Basic d2VibG9naWM6d2VsY29tZTE=' \ -H 'cache-control: no-cache' \ -H 'content-type: application/json' \
Example of the Response Body
The following example shows the contents of the response body.
{ "resultCode": "0", "challengeInfoList": [ { "prompt": "da*******@******.com", "challengeType": "email" } , { "prompt": "1********55", "challengeType": "sms" } ] }