Documentation ¶
Index ¶
- type ResetToken
- type TokenHandler
- func (a *TokenHandler) Filter() func(string) string
- func (a *TokenHandler) GenerateAndWrite(ctx context.Context, genReq *auth.PatGenerateRequest, req *restful.Request, ...) error
- func (a *TokenHandler) GenerateDocumentAccessToken(req *restful.Request, resp *restful.Response) error
- func (a *TokenHandler) ResetPassword(req *restful.Request, resp *restful.Response) error
- func (a *TokenHandler) ResetPasswordToken(req *restful.Request, resp *restful.Response) error
- func (a *TokenHandler) Revoke(req *restful.Request, resp *restful.Response) error
- func (a *TokenHandler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResetToken ¶
type TokenHandler ¶
func (*TokenHandler) Filter ¶
func (a *TokenHandler) Filter() func(string) string
Filter returns a function to filter the swagger path
func (*TokenHandler) GenerateAndWrite ¶
func (a *TokenHandler) GenerateAndWrite(ctx context.Context, genReq *auth.PatGenerateRequest, req *restful.Request, resp *restful.Response) error
func (*TokenHandler) GenerateDocumentAccessToken ¶
func (a *TokenHandler) GenerateDocumentAccessToken(req *restful.Request, resp *restful.Response) error
GenerateDocumentAccessToken generates a temporary access token for a specific document for the current user
func (*TokenHandler) ResetPassword ¶
func (*TokenHandler) ResetPasswordToken ¶
func (*TokenHandler) SwaggerTags ¶
func (a *TokenHandler) SwaggerTags() []string
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
Click to show internal directories.
Click to hide internal directories.