⚡ Add a cache layer in auth to speed up auth
This commit is contained in:
@ -81,3 +81,9 @@ func (v AuthChallenge) IsAvailable() error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
type AuthContext struct {
|
||||
Session AuthSession `json:"session"`
|
||||
Account Account `json:"account"`
|
||||
ExpiredAt time.Time `json:"expired_at"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user