You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Charset |`string`| Charset sent in the `WWW-Authenticate` header, so clients know how credentials are encoded. |`"UTF-8"`|
92
92
| HeaderLimit |`int`| Maximum allowed length of the `Authorization` header. Requests exceeding this limit are rejected. |`8192`|
93
93
| StorePassword |`bool`| Store the plaintext password in the context and retrieve it via `PasswordFromContext`. |`false`|
94
-
| Authorizer |`func(string, string, fiber.Ctx) bool`| Authorizer defines a function to check the credentials. It will be called with a username, **hashed password**, and the current context and is expected to return true or false to indicate approval. |`nil`|
94
+
| Authorizer |`func(string, string, fiber.Ctx) bool`| Authorizer defines a function to check the credentials. It will be called with a username, password, and the current context and is expected to return true or false to indicate approval. |`nil`|
95
95
| Unauthorized |`fiber.Handler`| Unauthorized defines the response body for unauthorized responses. |`nil`|
0 commit comments