Coffrify. Resources. MagicLinks
(Coffrify v0.9.0)
View Source
One-shot, pre-authenticated download URLs.
Summary
Functions
Mint a magic link. Returns the raw token ONCE.
List magic links for a given transfer.
Revoke a magic link.
Functions
@spec create(Coffrify.t(), map() | keyword()) :: {:ok, map()} | {:error, Exception.t()}
Mint a magic link. Returns the raw token ONCE.
@spec list(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
List magic links for a given transfer.
@spec revoke(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}
Revoke a magic link.