Livekitex.Grants.SipGrant (livekitex v0.1.0)

SIP-related permissions for LiveKit access tokens.

Summary

Functions

Creates a SipGrant from a map/hash.

Creates a new SipGrant with the specified permissions.

Converts a SipGrant to a map for JWT encoding.

Types

t()

@type t() :: %Livekitex.Grants.SipGrant{admin: boolean() | nil, call: boolean() | nil}

Functions

from_map(map)

Creates a SipGrant from a map/hash.

new(opts \\ [])

Creates a new SipGrant with the specified permissions.

to_map(grant)

Converts a SipGrant to a map for JWT encoding.