AUTH:relay_type()
Gets the authentication relay type. This command returns the type as an integer.
The following relay types are defined:
-
0 — AUTH_RELAY_TYPE_KERBEROS
-
1 — AUTH_RELAY_TYPE_HTTP_BASIC
-
2 — AUTH_RELAY_TYPE_UNKNOWN
Syntax
AUTH:relay_type()
Arguments
N/A
Events
-
HTTP_REQUEST
-
HTTP_RESPONSE
-
HTTP_DATA_REQUEST
-
HTTP_DATA_RESPONSE
-
AUTH_RESULT
Example
when AUTH_RESULT {
rt = AUTH:relay_type()
debug("===>>Authentication relay_type=%d\n", rt)
}
Supported Version
FortiADC version 5.2.x and later.