View Source DigexRequest.Authorization (DigexRequest v0.2.0)

Build the authorization header for the digest request

Link to this section Summary

Link to this section Types

@type nil_string() :: String.t() | nil
@type t() :: %DigexRequest.Authorization{
  algorithm: atom(),
  cnonce: String.t(),
  nc: non_neg_integer(),
  nonce: String.t(),
  opaque: nil_string(),
  qop: nil_string(),
  realm: nil_string(),
  response: nil_string(),
  uri: nil_string(),
  userhash: boolean(),
  username: nil_string()
}

Link to this section Functions

@spec build(t()) :: String.t()
@spec new(DigexRequest.WWWAuthenticate.t()) :: t()
Link to this function

refresh(authorization, dr)

View Source
@spec refresh(t(), DigexRequest.t()) :: t()