Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CustomAuthenticationPolicy

Use a function to validate a custom header or query parameter sent with the request authentication. A valid policy must specify either tokenHeader or tokenQueryParam.

Properties

functionId

functionId: string

The OCID of the Oracle Functions function resource.

Optional isAnonymousAccessAllowed

isAnonymousAccessAllowed: undefined | false | true

Whether an unauthenticated user may access the API. Must be "true" to enable ANONYMOUS route authorization.

Optional tokenHeader

tokenHeader: undefined | string

The name of the header containing the authentication token.

Optional tokenQueryParam

tokenQueryParam: undefined | string

The name of the query parameter containing the authentication token.

Const type

type: string = "CUSTOM_AUTHENTICATION"

Methods

getJsonObj