Versions in this module Expand all Collapse all v1 v1.0.0 Jan 19, 2019 Changes in this version + var DefaultConfig = Config + func HandleAuthorizeRequest(c *gin.Context) + func HandleTokenRequest(c *gin.Context) + func HandleTokenVerify(config ...Config) gin.HandlerFunc + func InitServer(manager oauth2.Manager) *server.Server + func SetAccessTokenExpHandler(handler server.AccessTokenExpHandler) + func SetAllowGetAccessRequest(allow bool) + func SetAllowedGrantType(types ...oauth2.GrantType) + func SetAllowedResponseType(types ...oauth2.ResponseType) + func SetAuthorizeScopeHandler(handler server.AuthorizeScopeHandler) + func SetClientAuthorizedHandler(handler server.ClientAuthorizedHandler) + func SetClientInfoHandler(handler server.ClientInfoHandler) + func SetClientScopeHandler(handler server.ClientScopeHandler) + func SetExtensionFieldsHandler(handler server.ExtensionFieldsHandler) + func SetInternalErrorHandler(handler server.InternalErrorHandler) + func SetPasswordAuthorizationHandler(handler server.PasswordAuthorizationHandler) + func SetRefreshingScopeHandler(handler server.RefreshingScopeHandler) + func SetResponseErrorHandler(handler server.ResponseErrorHandler) + func SetTokenType(tokenType string) + func SetUserAuthorizationHandler(handler server.UserAuthorizationHandler) + type Config struct + ErrorHandleFunc ErrorHandleFunc + Skipper func(*gin.Context) bool + TokenKey string + type ErrorHandleFunc func(*gin.Context, error) Incompatible versions in this module v2.0.0+incompatible Apr 20, 2021