Inttegro.FileLinks.OpenRequest (inttegro v0.2.0)

Copy Markdown View Source

Public capability used to open an Inttegro file link.

Both the link id and its token are required. Opening a link intentionally omits the application's secret key, which allows the capability to be handed to its intended recipient. Treat the token as sensitive until the link expires or is revoked.

Summary

Types

t()

The ID and token required to open a file link.

Functions

Builds an open request and raises KeyError when the ID or token is missing.

Types

t()

@type t() :: %Inttegro.FileLinks.OpenRequest{id: String.t(), token: String.t()}

The ID and token required to open a file link.

Functions

new!(attrs)

@spec new!(map() | keyword()) :: t()

Builds an open request and raises KeyError when the ID or token is missing.