@servicenow/sdk - v4.9.0
    Preparing search index...

    Type Alias RestMessageFnAuth

    RestMessageFnAuth: RestMessageAuthCredentials & {
        authenticationType?:
            | "inheritFromParent"
            | "noAuthentication"
            | "basic"
            | "oauth2";
    }

    Authentication fields for a RestMessageFn record

    Type Declaration

    • OptionalauthenticationType?: "inheritFromParent" | "noAuthentication" | "basic" | "oauth2"

      Authentication strategy for this function. Defaults to 'inheritFromParent', which uses the parent message's authentication. Any other value fully overrides the parent auth for this function only.

      • 'inheritFromParent' — use parent message authentication (default)
      • 'noAuthentication' — override to no credentials for this function
      • 'basic' — HTTP Basic auth via a stored credential profile (basicAuthProfile)
      • 'oauth2' — OAuth 2.0 via a named profile (oauthProfile)