NAME

Net::TacacsPlus::Packet::AuthorRequestBody - Tacacs+ authorization request body

DESCRIPTION

The authorization REQUEST packet body

 1 2 3 4 5 6 7 8  1 2 3 4 5 6 7 8  1 2 3 4 5 6 7 8  1 2 3 4 5 6 7 8

+----------------+----------------+----------------+----------------+
|  authen_method |    priv_lvl    |  authen_type   | authen_service |
+----------------+----------------+----------------+----------------+
|    user len    |    port len    |  rem_addr len  |    arg_cnt     |
+----------------+----------------+----------------+----------------+
|   arg 1 len    |   arg 2 len    |      ...       |   arg N len    |
+----------------+----------------+----------------+----------------+
|   user ...
+----------------+----------------+----------------+----------------+
|   port ...
+----------------+----------------+----------------+----------------+
|   rem_addr ...
+----------------+----------------+----------------+----------------+
|   arg 1 ...
+----------------+----------------+----------------+----------------+
|   arg 2 ...
+----------------+----------------+----------------+----------------+
|   ...
+----------------+----------------+----------------+----------------+
|   arg N ...
+----------------+----------------+----------------+----------------+

METHODS

new( somekey => somevalue)

Construct tacacs+ authorization REQUEST packet body object

Parameters:

authen_method : TAC_PLUS_AUTHEN_METH_*
priv_lvl      : TAC_PLUS_PRIV_LVL_*
authen_type   : TAC_PLUS_AUTHEN_TYPE_*
authen_service: TAC_PLUS_AUTHEN_SVC_*
user          : username
port          : port                     - default 'Virtual00'
rem_addr      : our ip address
args          : args arrayref
decode($raw_data)

Construct object from raw packet.

raw()

Return binary data of packet body.