Module auth

Module auth 

Source
Expand description

Authentication module for HTTP Basic Authentication (RFC 7617) and Bearer Token (RFC 6750).

Provides credential storage, verification, and HTTP header parsing for implementing Basic Authentication and Bearer Token authentication in WiseGate.

Modules§

hash
Native password hash verification for Apache htpasswd formats.

Structs§

Credential
A single credential entry (username and password/hash).
Credentials
Stores credentials for authentication.

Functions§

check_basic_auth
Checks if the request has valid Basic authentication.
check_bearer_token
Checks if the request has a valid Bearer token.