Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenContext ¶
type TokenService ¶
type TokenService struct{}
func (*TokenService) AuthenticateRequest ¶
func (t *TokenService) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error)
func (*TokenService) DecodeToken ¶
func (t *TokenService) DecodeToken(token string) (*TokenContext, error)
func (*TokenService) NewToken ¶
func (t *TokenService) NewToken(context TokenContext) (string, error)
Click to show internal directories.
Click to hide internal directories.