1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00
Gerasimos (Makis) Maropoulos
2020-08-15 15:40:41 +03:00
parent c22cb3a188
commit ab226d925a
2 changed files with 12 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ type Config struct {
Users map[string]string
// Realm http://tools.ietf.org/html/rfc2617#section-1.2. Default is "Authorization Required"
Realm string
// Expires expiration duration, default is 0 never expires
// Expires expiration duration, default is 0 never expires.
Expires time.Duration
// OnAsk fires each time the server asks to the client for credentials in order to gain access and continue to the next handler.