Documentation ¶
Index ¶
- func NewAuth(opts ...auth.Option) auth.Auth
- type Auth
- func (a *Auth) Generate(id string, opts ...auth.GenerateOption) (*auth.Account, error)
- func (a *Auth) Init(opts ...auth.Option) error
- func (a *Auth) Options() auth.Options
- func (a *Auth) Revoke(token string) error
- func (a *Auth) String() string
- func (a *Auth) Verify(token string) (*auth.Account, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.