package
1.1.3
Repository: https://github.com/infinitbyte/framework.git
Documentation: pkg.go.dev

# Functions

New returns digest authentication strategy.
SetHash set the hashing algorithm to hash the user password.
SetOpaque set digest opaque.
SetRealm set digest authentication realm.

# Variables

ErrInavlidHeader is returned by Header parse when authz header is not digest.
ErrInvalidResponse is returned by Strategy when client authz response does not match server hash.

# Structs

Digest authentication strategy.

# Type aliases

FetchUser a callback function to return the user password and user info.
Header represents The Authorization Header Field, and WWW-Authenticate Response Header Field as described in RFC 7616.