Douglas Christopher Wilson > Net-TacacsPlus-1.10 > Net::TacacsPlus::Packet::AuthorResponseBody

Download:
Net-TacacsPlus-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.10   Source  

NAME ^

Net::TacacsPlus::Packet::AuthorResponseBody - Tacacs+ authorization response body

DESCRIPTION ^

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 ...
        +----------------+----------------+----------------+----------------+

METHODS ^

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.

syntax highlighting: