Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessToken ¶
type AccessToken struct {
// contains filtered or unexported fields
}
func NewAccessToken ¶
func NewAccessToken(claims jwtgo.MapClaims) (*AccessToken, error)
func (*AccessToken) ExpiresAt ¶
func (t *AccessToken) ExpiresAt() time.Time
func (*AccessToken) String ¶
func (t *AccessToken) String() string
type RefreshToken ¶
type RefreshToken struct {
// contains filtered or unexported fields
}
func NewRefreshToken ¶
func NewRefreshToken(claims jwtgo.MapClaims) (*RefreshToken, error)
func (*RefreshToken) ExpiresAt ¶
func (t *RefreshToken) ExpiresAt() time.Time
func (*RefreshToken) String ¶
func (t *RefreshToken) String() string
Click to show internal directories.
Click to hide internal directories.