Net::TacacsPlus::Packet::AuthorResponseBody - Tacacs+ authorization response
body
The authorization RESPONSE 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
+----------------+----------------+----------------+----------------+
| status | arg_cnt | server_msg len |
+----------------+----------------+----------------+----------------+
+ data len | arg 1 len | arg 2 len |
+----------------+----------------+----------------+----------------+
| ... | arg N len | server_msg ...
+----------------+----------------+----------------+----------------+
| data ...
+----------------+----------------+----------------+----------------+
| arg 1 ...
+----------------+----------------+----------------+----------------+
| arg 2 ...
+----------------+----------------+----------------+----------------+
| ...
+----------------+----------------+----------------+----------------+
| arg N ...
+----------------+----------------+----------------+----------------+
- new( somekey => somevalue)
- Construct tacacs+ authorization response body object
Parameters:
'raw_body': raw body
- decode($raw_data)
- Extract status, server_msg, data and arguments from raw packet.
- raw()
- Return binary data of packet body.