Documentation
¶
Index ¶
- Constants
- Variables
- type Kind
- type Manager
- func (m *Manager) Revoke(ctx context.Context, userID int64, sid string) error
- func (m *Manager) RevokeAll(ctx context.Context, userID int64, except string) error
- func (m *Manager) Touch(ctx context.Context, userID int64, sid string)
- func (m *Manager) Valid(ctx context.Context, userID int64, sid string) (bool, error)
- type Minted
- type Outcome
- type RefreshRecord
- type RefreshStore
- type Refresher
- type Store
Constants ¶
View Source
const ( DefaultGrace = 60 * time.Second DefaultHealWindow = 24 * time.Hour DefaultMaxChain = 8 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RefreshRecord ¶ added in v1.2.0
type RefreshStore ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.