Skip to content

Commit

Permalink
docfix/User Authentication message
Browse files Browse the repository at this point in the history
  • Loading branch information
simonredfern committed Jan 6, 2025
1 parent d286f28 commit 82dad2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion obp-api/src/main/scala/code/api/util/APIUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,7 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{

def userAuthenticationMessage(userAuthRequired: Boolean) : String =
userAuthRequired match {
case true => "User Authentication is Required. The User must be logged in. The Application must be authenticated."
case true => "User Authentication is Required. The User must be logged in. The Application must also be authenticated."
case false => "User Authentication is Optional. The User need not be logged in."
}

Expand Down
5 changes: 5 additions & 0 deletions obp-api/src/main/scala/code/api/v5_0_0/APIMethods500.scala
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,11 @@ trait APIMethods500 {
|
|After successfully creating the VRP consent request, you need to call the `Create Consent By CONSENT_REQUEST_ID` endpoint to finalize the consent.
|
|${applicationAccessMessage(true)}
|
|${userAuthenticationMessage(false)}
|
|
|""".stripMargin,
postConsentRequestJsonV500,
consentRequestResponseJson,
Expand Down

0 comments on commit 82dad2e

Please sign in to comment.