Documentation ¶
Overview ¶
Package token implements `TokenGenerator` for couchbase driver.
Index ¶
- type Service
- func (s Service) Create(ctx context.Context, ownerID string) (secure.Token, error)
- func (s Service) Delete(ctx context.Context, id string) error
- func (s Service) GetByID(ctx context.Context, id string) (secure.Token, error)
- func (s Service) Hash(ctx context.Context, b []byte) string
- func (s Service) HashMatchesToken(ctx context.Context, hash, token string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the password reset token management service.
Click to show internal directories.
Click to hide internal directories.