type alias AuthInfo

The authorization code request and reply in <authInfo>.

Properties

optional
notes: string

Request only: a note for the shared user, read up to 32 bytes.

optional
validhours: number

Request only: how many hours the shared access lasts.

optional
userLevel: number

Request only: the shared user's level.

optional
ability: number

Request only: the granted ability bitmask; must not be 0.

optional
channelAbility: bigint

Request only: a 64-bit per-channel ability bitmask.

optional
code: number

Reply only: the authorization code.

Usage

import { type AuthInfo } from "protocol/params/mod.ts";