struct Protocol::Network::AuthChallengeResponse

Overview

Response to an AuthChallenge.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def password : String | Nil #

The password to provide, possibly empty. Should only be set if response is ProvideCredentials.


[View source]
def response : String #

The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.


[View source]
def username : String | Nil #

The username to provide, possibly empty. Should only be set if response is ProvideCredentials.


[View source]