Current section
Files
Jump to
Current section
Files
lib/perspective/authentication/default_authenticator.ex
defmodule Perspective.Authentication.DefaultAuthenticator do
@behaviour Perspective.RequestAuthenticator
@impl Perspective.RequestAuthenticator
def authenticate(request, _token) do
Map.put(request, :actor_id, "user/anonymous")
end
end