Parrhesia.API.Auth.Context
(parrhesia v0.12.0)
Copy Markdown
Authenticated request details returned by shared auth helpers.
This is the higher-level result returned by Parrhesia.API.Auth.validate_nip98/3 and
validate_nip98/4. The nested request_context is ready to be passed into the rest of the
public API surface.
Summary
Types
@type t() :: %Parrhesia.API.Auth.Context{ auth_event: map() | nil, metadata: map(), pubkey: String.t() | nil, request_context: Parrhesia.API.RequestContext.t() }