View Source SmartToken (smart_token v0.1.2)
Summary
Functions
Create a new account verification token.
Add ip whitelist entry(ies)
Create a new token with the given settings.
Add session key,value constraint
Add a validity period to the token
Types
@type t() :: %SmartToken{ access_history: term(), active: boolean(), context: term(), extended_info: term(), identifier: integer(), kind: term(), owner: term(), permissions: term(), resource: term(), scope: term(), state: term(), template: term(), token_a: bitstring() | :generate, token_b: bitstring() | :generate, type: term(), validity_period: term(), vsn: term() }
Functions
Create a new account verification token.
Add ip whitelist entry(ies)
Create a new token with the given settings.
Add session key,value constraint
Add a validity period to the token
- from_period: `:unbound | {:relative, [{period, count}]} | {:fixed, time}`
- to_period: `:unbound | {:relative, [{period, count}]} | {:fixed, time}`