Documentation ¶
Overview ¶
Package digest defines functionality required to support digest authorization
Package digest defines functionality required to support digest authorization
Index ¶
Constants ¶
View Source
const ( QOP_AUTH = "auth" QOP_AUTH_INT = "auth-int" )
Possible values of the qop parameter
View Source
const ( MD5 = "MD5" MD5_SESS = "MD5-SESS" SHA256 = "SHA-256" SHA256_SESS = "SHA-256-SESS" )
Supported encryption algorithms
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authorization ¶
type Authorization struct {
// contains filtered or unexported fields
}
Authorization defines all required attributes for the "Authorization" request header when performing digest authz https://tools.ietf.org/html/rfc7616#section-3.4
func (*Authorization) String ¶
func (authz *Authorization) String() string
String generates the "Authorization" request header field value: https://tools.ietf.org/html/rfc7616#section-3.4
type WwwAuthenticateProps ¶
type WwwAuthenticateProps struct {
// contains filtered or unexported fields
}
WwwAuthenticateProps defines all supported WWW-Authenticate response header field attributes https://tools.ietf.org/html/rfc7616#section-3.3
Click to show internal directories.
Click to hide internal directories.