mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-27 02:25:40 +00:00
16 lines
379 B
Elixir
16 lines
379 B
Elixir
defmodule SpazioSolazzo.Secrets do
|
|
@moduledoc """
|
|
Provides access to application secrets for authentication.
|
|
"""
|
|
|
|
use AshAuthentication.Secret
|
|
|
|
def secret_for(
|
|
[:authentication, :tokens, :signing_secret],
|
|
SpazioSolazzo.Accounts.User,
|
|
_opts,
|
|
_context
|
|
) do
|
|
Application.fetch_env(:spazio_solazzo, :token_signing_secret)
|
|
end
|
|
end
|