Documentation ¶
Index ¶
- type AccessClaims
- type Secure
- func (s *Secure) NewAccessToken(ctx context.Context, user *entity.User, client *entity.Client) (*entity.Token, error)
- func (s *Secure) NewCodeToken(ctx context.Context, user *entity.User, client *entity.Client) (*entity.Token, error)
- func (s *Secure) NewRefreshToken(ctx context.Context, user *entity.User, client *entity.Client, ...) (*entity.Token, error)
- func (s *Secure) NewResetPassword(ctx context.Context, user *entity.User, client *entity.Client, ...) (*entity.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessClaims ¶
type Secure ¶
type Secure struct {
// contains filtered or unexported fields
}
func (*Secure) NewAccessToken ¶
func (*Secure) NewCodeToken ¶
func (*Secure) NewRefreshToken ¶
Click to show internal directories.
Click to hide internal directories.