Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AccessClaims ¶
type AccessTokenService ¶
type AccessTokenService struct {
// contains filtered or unexported fields
}
func NewAccessTokenService ¶
func NewAccessTokenService( keys *KeySet, issuer string, ttl time.Duration, ) *AccessTokenService
func (*AccessTokenService) Parse ¶
func (s *AccessTokenService) Parse(tokenString string, now time.Time) (*AccessClaims, error)
type KeySet ¶
func (*KeySet) SigningKey ¶
Click to show internal directories.
Click to hide internal directories.