Challenge Display Information

get

/oam/services/rest/auth/api/v1/mfa/challengeDisplayInfo

Get display information for user attributes used in challenges.

Request

Supported Media Types
Query Parameters

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : ChallengeDisplayResponse
Type: object
Show Source
Nested Schema : challengeInfoList
Type: array
Array of challenge info objects.
Show Source
Nested Schema : ChallengeInfo
Type: object
Show Source
  • Type of challenge associated with this piece of information (sms|email|...)
  • Email/phone number associated with the challenge type.
  • Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.

401 Response

Unauthorized

404 Response

Requested entity not found

422 Response

Unprocessable Entity
Body ()
Root Schema : ChallengeDisplayResponse
Type: object
Show Source
Nested Schema : challengeInfoList
Type: array
Array of challenge info objects.
Show Source
Nested Schema : ChallengeInfo
Type: object
Show Source
  • Type of challenge associated with this piece of information (sms|email|...)
  • Email/phone number associated with the challenge type.
  • Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.

500 Response

Internal Server Error
Body ()
Root Schema : ChallengeDisplayResponse
Type: object
Show Source
Nested Schema : challengeInfoList
Type: array
Array of challenge info objects.
Show Source
Nested Schema : ChallengeInfo
Type: object
Show Source
  • Type of challenge associated with this piece of information (sms|email|...)
  • Email/phone number associated with the challenge type.
  • Display string for challenge information. Eg. Masked email/phone number. Masking based on configuration.

Default Response

Unexpected error
Body ()
Root Schema : ChallengeDisplayResponse
Type: object
Show Source
Nested Schema : challengeInfoList
Type: array
Array of challenge info objects.
Show Source
Nested Schema : ChallengeInfo
Type: object
Show Source
  • Type of challenge associated with this piece of information (sms|email|...)
  • Email/phone number associated with the challenge type.
  • 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.

cURL Example

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 Request Body

The following example shows the contents of the response body.

{
"resultCode": "0",
"challengeInfoList": [
{ "prompt": "da*******@******.com", "challengeType": "email" }
,

{ "prompt": "1********55", "challengeType": "sms" }
]
}