FedecksServer.Config (fedecks_server v0.1.0)

Reads configuration associated with a particular Fedecks socket handler.

Link to this section Summary

Link to this section Types

Link to this type

config_key()

@type config_key() :: {otp_app :: atom(), handler_module :: atom()}

Link to this section Functions

Link to this function

token_expiry_secs(key)

@spec token_expiry_secs(config_key()) :: pos_integer()
Link to this function

token_refresh_millis(key)

@spec token_refresh_millis(config_key()) :: pos_integer()
Link to this function

token_secrets(key)

@spec token_secrets(config_key()) :: {String.t(), String.t()}