aggregate the response from UAS challenge and factory gateway apis. also if required may call the factor api which can be rest based.

post

/authn/v1

Returns a list of challenge preferred by user. Also in case the number of factors that can be used to challenge user is one and the prompt is also one, then challenge process can be initiated. Also passive factors, i.e, factors with no interaction required from user, can be initiated once the init is complete which will make the request to challenge the user. Example of such factors are Email OTP, SMS OTP, TOTP, Push Notification etc.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
AuthnRequest contains user and context information to fetch challenges and initalize authn
Show Source
Nested Schema : ClientInfo
Type: object
Information about the calling service provider.
Show Source
Nested Schema : UserContext
Type: object
Additional context that can be provided by the caller while calling the preferecences API including assurance level, cookies, header, ip address, resource urls, user agents etc.
Show Source
Nested Schema : UserInfo
Type: object
User information provided by the caller to identify the user in the system. This is an optional parameter.
Show Source
Nested Schema : assuranceLevel
Type: object
requested assurance level by the end user. The field needs to be populated by service provider based on the requested resource.
Nested Schema : CustomContext
Type: object
Additional context present in the user request.
Show Source
Nested Schema : headers
Type: array
Headers, if any, present in the user access request. The content will be provided as input for rule execution.
Show Source
Nested Schema : ldapattributes
Type: array
ldap atrributes of user
Show Source
Nested Schema : ldapgroup
Type: array
ldap groups of the user
Show Source
Nested Schema : userCookies
Type: array
Cookies present in the user access request.
Show Source
Nested Schema : KeyValPair
Type: object
Key-value pair which can be used generically.
Show Source
Nested Schema : value
Type: object
associated value.
Nested Schema : groups
Type: array
The groups that user belongs to.
Show Source
Request Body - application/json ()
Root Schema : schema
Type: object
AuthnRequest contains user and context information to fetch challenges and initalize authn
Show Source
Nested Schema : ClientInfo
Type: object
Information about the calling service provider.
Show Source
Nested Schema : UserContext
Type: object
Additional context that can be provided by the caller while calling the preferecences API including assurance level, cookies, header, ip address, resource urls, user agents etc.
Show Source
Nested Schema : UserInfo
Type: object
User information provided by the caller to identify the user in the system. This is an optional parameter.
Show Source
Nested Schema : assuranceLevel
Type: object
requested assurance level by the end user. The field needs to be populated by service provider based on the requested resource.
Nested Schema : CustomContext
Type: object
Additional context present in the user request.
Show Source
Nested Schema : headers
Type: array
Headers, if any, present in the user access request. The content will be provided as input for rule execution.
Show Source
Nested Schema : ldapattributes
Type: array
ldap atrributes of user
Show Source
Nested Schema : ldapgroup
Type: array
ldap groups of the user
Show Source
Nested Schema : userCookies
Type: array
Cookies present in the user access request.
Show Source
Nested Schema : KeyValPair
Type: object
Key-value pair which can be used generically.
Show Source
Nested Schema : value
Type: object
associated value.
Nested Schema : groups
Type: array
The groups that user belongs to.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : AuthnResponse
Type: object
The object describes the options available to end user for challenge otherwise also return the default challenge mechanism as per service provider.
Show Source
  • StatusInfo
    Status of the fetch challenge info request. It contains the information required to process the user authentication request.
  • InitContext
  • challengeInfo
    A user can be challenged in many ways, the object will contain all the possible ways a user can be authenticated. In case the user information is not available in the request, the Default challenge mechanism as per the service provider configuration will be present.
  • Message to be displayed to select one of multiple challenges
  • cookies
    Cookies present in the user access request.
  • transaction id provided by the challenge api. Also this field contains previous id used within the session to update store.
  • random string to identify the future request. This will change in each response and the lastest nonce is expected in the finalize call.
  • The resource for which the access was requested. This will be returned only when the user is authenticated and no further challenge is needed.
Nested Schema : StatusInfo
Type: object
Status of the fetch challenge info request. It contains the information required to process the user authentication request.
Show Source
  • Code representing the challenge status.
  • Error message generated if the server is unable to process the request.
  • status of the fetch challenge info for user request. It will be one of the following authenticated/pending verification/pending identification/failed/error/missing registration/challenge blocked.
Nested Schema : InitContext
Type: object
Show Source
Nested Schema : challengeInfo
Type: array
A user can be challenged in many ways, the object will contain all the possible ways a user can be authenticated. In case the user information is not available in the request, the Default challenge mechanism as per the service provider configuration will be present.
Show Source
Nested Schema : cookies
Type: array
Cookies present in the user access request.
Show Source
Nested Schema : factorAttributes
Type: array
Show Source
Nested Schema : requestParams
Type: array
Show Source
Nested Schema : UserFactorAttribute
Type: object
A map represented as an array of entries.
Show Source
Nested Schema : KeyValPair_2
Type: object
Key-value pair which can be used generically.
Show Source
Nested Schema : value
Type: object
Content that needs to be provided.
Nested Schema : FactorChallengeInfo
Type: object
information required to process user request using the factors available to it will be present in the object.
Show Source
Nested Schema : FactorContext
Type: object
The context required by factor to process the user authentication request.
Show Source
Nested Schema : challengeAttrMap
Type: array
Show Source
Nested Schema : prompts
Type: array
the display prompt will contain one or more prompts that can be further selected by user.
Show Source
Nested Schema : FactorAttribute
Type: object
A map represented as an array of entries.
Show Source
Nested Schema : Prompt
Type: object
Prompt the can be displayed to end user
Show Source
Nested Schema : KeyValPair
Type: object
Key-value pair which can be used generically.
Show Source
Nested Schema : value
Type: object
associated value.

400 Response

if the authn request failed due to validation of parameters.
Body ()
Root Schema : AuthnAPIResponse
Type: object
Show Source
Back to Top