Documentation ¶
Index ¶
- type API
- func (a *API) CreatePersonalAccessToken(c *gin.Context)
- func (a *API) CreateResourceAccessToken(c *gin.Context)
- func (a *API) ListPersonalAccessTokens(c *gin.Context)
- func (a *API) ListResourceAccessTokens(c *gin.Context)
- func (api *API) RegisterRoute(engine *gin.Engine)
- func (a *API) RevokePersonalAccessToken(c *gin.Context)
- func (a *API) RevokeResourceAccessToken(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewAPI ¶
func NewAPI(c accesstoken.Controller, roleSvc roleservice.Service, scopeSvc scopeservice.Service) *API
func (*API) CreatePersonalAccessToken ¶
func (*API) CreateResourceAccessToken ¶
func (*API) ListPersonalAccessTokens ¶
func (*API) ListResourceAccessTokens ¶
func (*API) RegisterRoute ¶
RegisterRoutes register routes
func (*API) RevokePersonalAccessToken ¶
func (*API) RevokeResourceAccessToken ¶
Click to show internal directories.
Click to hide internal directories.