Sake.Client.Challenge (Sake v0.1.0)

Copy Markdown View Source

A parsed WWW-Authenticate challenge.

Summary

Types

t()

@type t() :: %Sake.Client.Challenge{
  error: term(),
  error_description: term(),
  realm: term(),
  resource_metadata: term(),
  scheme: term(),
  scope: term()
}

Functions

parse(header)

@spec parse(String.t()) :: t()