struct Protocol::Fetch::AuthChallenge

Overview

Authorization challenge for HTTP status code 401 or 407.

Included Modules

Defined in:

protocol/fetch.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def origin : String #

Origin of the challenger.


[View source]
def realm : String #

The realm of the challenge. May be empty.


[View source]
def scheme : String #

The authentication scheme used, such as basic or digest


[View source]
def source : String | Nil #

Source of the authentication challenge.


[View source]