Documentation
¶
Index ¶
- Constants
- Variables
- type Store
- func (s *Store) Confirm(ctx context.Context, confirm string) (int64, error)
- func (s *Store) List(ctx context.Context, subjectID int64) ([]Summary, error)
- func (s *Store) Mint(ctx context.Context, subjectID int64, name string) (string, error)
- func (s *Store) Request(ctx context.Context, subjectID int64, name string) (token, confirm string, err error)
- func (s *Store) Resolve(ctx context.Context, token string) (int64, bool)
- func (s *Store) Revoke(ctx context.Context, token string) error
- func (s *Store) RevokeByID(ctx context.Context, subjectID, id int64) error
- type Summary
Constants ¶
View Source
const ( StatusPending = "pending" StatusActive = "active" StatusRevoked = "revoked" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.