Versions in this module Expand all Collapse all v0 v0.1.0 Aug 1, 2016 Changes in this version + type AccessTokenStorage interface + CreateAccessTokenSession func(ctx context.Context, signature string, request fosite.Requester) (err error) + DeleteAccessTokenSession func(ctx context.Context, signature string) (err error) + GetAccessTokenSession func(ctx context.Context, signature string, session interface{}) (request fosite.Requester, err error) + type AccessTokenStrategy interface + AccessTokenSignature func(token string) string + GenerateAccessToken func(ctx context.Context, requester fosite.Requester) (token string, signature string, err error) + ValidateAccessToken func(ctx context.Context, requester fosite.Requester, token string) (err error) + type AuthorizeCodeStorage interface + CreateAuthorizeCodeSession func(ctx context.Context, code string, request fosite.Requester) (err error) + DeleteAuthorizeCodeSession func(ctx context.Context, code string) (err error) + GetAuthorizeCodeSession func(ctx context.Context, code string, session interface{}) (request fosite.Requester, err error) + type AuthorizeCodeStrategy interface + AuthorizeCodeSignature func(token string) string + GenerateAuthorizeCode func(ctx context.Context, requester fosite.Requester) (token string, signature string, err error) + ValidateAuthorizeCode func(ctx context.Context, requester fosite.Requester, token string) (err error) + type CoreStorage interface + type CoreStrategy interface + type CoreValidator struct + func (c *CoreValidator) ValidateRequest(ctx context.Context, req *http.Request, accessRequest fosite.AccessRequester) error + func (c *CoreValidator) ValidateToken(ctx context.Context, accessRequest fosite.AccessRequester, token string) error + type HandleHelper struct + AccessTokenLifespan time.Duration + AccessTokenStorage AccessTokenStorage + AccessTokenStrategy AccessTokenStrategy + func (h *HandleHelper) IssueAccessToken(ctx context.Context, req *http.Request, requester AccessRequester, ...) error + type RefreshTokenStorage interface + CreateRefreshTokenSession func(ctx context.Context, signature string, request fosite.Requester) (err error) + DeleteRefreshTokenSession func(ctx context.Context, signature string) (err error) + GetRefreshTokenSession func(ctx context.Context, signature string, session interface{}) (request fosite.Requester, err error) + type RefreshTokenStrategy interface + GenerateRefreshToken func(ctx context.Context, requester fosite.Requester) (token string, signature string, err error) + RefreshTokenSignature func(token string) string + ValidateRefreshToken func(ctx context.Context, requester fosite.Requester, token string) (err error)