REST API for Multifactor Authentication One Time PIN in Oracle Access Manager

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
  • application/json
  • application/xml
Query Parameters
Back to Top

Response

Supported Media Types
  • application/json
  • application/xml

200 Response

Success
Body (
  1. ChallengeDisplayResponse
)
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

401 Response

Unauthorized

404 Response

Requested entity not found

422 Response

Unprocessable Entity
Body (
  1. ChallengeDisplayResponse
)
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

500 Response

Internal Server Error
Body (
  1. ChallengeDisplayResponse
)
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

Default Response

Unexpected error
Body (
  1. ChallengeDisplayResponse
)
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
Back to Top

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" } ] }
Back to Top