Current section

Files

Jump to
perspective lib perspective authentication default_authenticator.ex
Raw

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