Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Method ¶
func Method(auth string) authorizationmethod.AuthorizationMethod
Method returns the authorizationmethod.AuthorizationMethod corresponding with the parameter value.
Types ¶
type AuthorizationData ¶
type AuthorizationData struct { Method authorizationmethod.AuthorizationMethod Value string }
AuthorizationData holds all information necessary to authorize with HTTP.
func (AuthorizationData) Equals ¶
func (d AuthorizationData) Equals(other AuthorizationData) bool
func (*AuthorizationData) ToHeaderValue ¶
func (d *AuthorizationData) ToHeaderValue() (string, error)
ToHeaderValue retrieves the value of the authorization header from AuthorizationData.
Click to show internal directories.
Click to hide internal directories.