Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Token = &token.Token{ PlainText: "GAJPGPWLD6KISED2QS34A6ERWU", Hash: []byte("75c1ea94931bfefe90b8684ca17220a3bf8813aef074c91226bc8fafacd55fb3"), UserID: 22, Expiry: time.Time{}, Scope: token.ScopeAuthentication, }
Functions ¶
This section is empty.
Types ¶
type SerializableStore ¶
type SerializableStore interface { Get(ctx context.Context, sessionTokenHash string) (token.Token, error) Set(ctx context.Context, sessionToken *token.Token) error Delete(ctx context.Context, token string) error }
func CustomRedisStore ¶
func CustomRedisStore(_ context.Context) SerializableStore
Click to show internal directories.
Click to hide internal directories.