Skip to content

Commit

Permalink
docfix/added applicationAccessRequired function for use in Resource Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonredfern committed Jan 6, 2025
1 parent 6ae6be3 commit da4b764
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions obp-api/src/main/scala/code/api/util/APIUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2164,6 +2164,12 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{
case false => "User Authentication is Optional"
}

def applicationAccessMessage(applicationAccessRequired: Boolean) : String =
applicationAccessRequired match {
case true => "Application Authentication is Mandatory"
case false => "Application Authentication is Optional"
}



def fullBaseUrl(callContext: Option[CallContext]) : String = {
Expand Down

0 comments on commit da4b764

Please sign in to comment.