Fortinet white logo
Fortinet white logo

Script Reference Guide

AUTH:uri()

AUTH:uri()

Gets the authentication URI. This command returns a string if successful, otherwise returns Boolean false.

Syntax

AUTH:uri()

Arguments

N/A

Events

  • HTTP_REQUEST

  • HTTP_RESPONSE

  • HTTP_DATA_REQUEST

  • HTTP_DATA_RESPONSE

  • AUTH_RESULT

Example

when AUTH_RESULT {
    ret = AUTH: uri()
    if ret then
        debug("------> uri=%s.\n", ret)
    else
        debug("------> uri failed.\n")
end
}

Supported Version

FortiADC version 5.2.x and later.

AUTH:uri()

AUTH:uri()

Gets the authentication URI. This command returns a string if successful, otherwise returns Boolean false.

Syntax

AUTH:uri()

Arguments

N/A

Events

  • HTTP_REQUEST

  • HTTP_RESPONSE

  • HTTP_DATA_REQUEST

  • HTTP_DATA_RESPONSE

  • AUTH_RESULT

Example

when AUTH_RESULT {
    ret = AUTH: uri()
    if ret then
        debug("------> uri=%s.\n", ret)
    else
        debug("------> uri failed.\n")
end
}

Supported Version

FortiADC version 5.2.x and later.