Home Submitter: laurel@sdf.lonestar.org Edit

CLI_AUTHORIZE

Channel: 2SNAC(19,26)

Grant another user's request for authorization (in response to SRV_AUTH_REQ).

Parameters

Data type Content Name Description
BUIN xx ... UIN UIN of the user to authorize.
BYTE xx AUTHORIZE Decline or authorize the contact add request:
00 - decline
01 - authorize
WORD xx xx STRLEN Length of the following reason; always 0 for authorize.
DATA ... REASON Reason for declining authorization as ASCII string.
WORD 00 00 UNKNOWN Unknown: empty.

Examples

2a 02 1b 03 00 1f                  FLAP: Channel 2, Seq 0x1b03, Len 0x1f
   00 13 00 1a 00 00 00 00 00 1a      SNAC: 0x13/0x1a, Ref 0x0000001a, Flags 0
      09                                 Length of uin: 
         31 35 38 30 33 39 35 37 39         uin == '158039579'
      00                                 Decline authorization
      00 06                              Length of reason:
         72 65 61 73 6f 6e                  reason == 'reason'
      00 00


2a 02 1b 01 00 19                  FLAP: Channel 2, Seq 0x1b01, Len 0x19
   00 13 00 1a 00 00 00 00 00 1a      SNAC: 0x13/0x1a, Ref 0x0000001a, Flags 0
      09                                 Length of uin:
         31 35 38 30 33 39 35 37 39         uin == '158039579'
      01                                 Authorize
      00 00                              Length of reason
      00 00


HomeEdit