Skip to main content

Module auth_token

Module auth_token 

Source
Expand description

The Token structure carried by the AUTHORIZATION TOKEN parameter.

Drafts 11 through 23 define one structure and require a receiver to close the session when a value it understands does not match it.

Re-exportsΒ§

use crate::error::CodecError; πŸ”’
use crate::varint::MoqtProfile; πŸ”’
use crate::varint::VarInt; πŸ”’
use crate::varint::VarIntError; πŸ”’
use bytes::Buf; πŸ”’
use bytes::BufMut; πŸ”’

StructsΒ§

AuthorizationToken
The Token structure an AUTHORIZATION TOKEN parameter carries as its value.

EnumsΒ§

TokenAliasType
What a Token’s Alias Type says about the fields that follow it.

ConstantsΒ§

AUTH_TOKEN_PARAMETER
The parameter type carrying an Authorization Token on drafts 12 and later.
AUTH_TOKEN_PARAMETER_D11
The parameter type carrying an Authorization Token on draft-11.

FunctionsΒ§

malformed πŸ”’
Report a Token that cannot be decoded under the rule its draft states.