AttestoPhoenix.ClientAuthentication.ErrorContext (AttestoPhoenix v0.19.0)

Copy Markdown View Source

Transport facts known while classifying client authentication.

:authorization_scheme is the request-header authentication scheme the client attempted, "Basic" for a present but unusable scheme token, or nil when no Authorization header was present. It is intentionally detached from the error code: callers decide whether a particular OAuth error should be rendered with a challenge.

Summary

Types

t()

@type t() :: %AttestoPhoenix.ClientAuthentication.ErrorContext{
  authorization_scheme: String.t() | nil
}