12345678910111213141516171819202122232425 |
- package auth
-
- import (
- "time"
- )
-
- type DebugSessionStore struct{}
-
- func NewDebugSessionStore() *DebugSessionStore {
- return &DebugSessionStore{}
- }
-
- func (*DebugSessionStore) StoreJwtToken(key string, value string, timeout time.Duration) error {
- return nil
- }
-
- func (*DebugSessionStore) IsExistsJwtToken(key string) bool {
- return true
- }
-
- // DeleteJwtToken delete jwt token
- func (*DebugSessionStore) DeleteJwtToken(key string) bool {
- return true
- }
|