 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var AllowedScopes = []string{"manage", "scan"}
    Functions ¶
func HexPubKeyToECDSA ¶ added in v0.5.14
func HexTokenToECDSA ¶ added in v0.5.14
Types ¶
type CreateRequest ¶
type PatController ¶
type PatController struct {
	// contains filtered or unexported fields
}
    func NewHTTPController ¶ added in v0.17.1
func NewHTTPController(repository core.PersonalAccessTokenRepository) *PatController
func (*PatController) RevokeByPrivateKey ¶ added in v0.17.1
func (p *PatController) RevokeByPrivateKey(c core.Context) error
type PatService ¶
type PatService struct {
	// contains filtered or unexported fields
}
    func NewPatService ¶
func NewPatService(repository core.PersonalAccessTokenRepository) *PatService
func (*PatService) RevokeByPrivateKey ¶ added in v0.17.1
func (p *PatService) RevokeByPrivateKey(privKey string) error
func (*PatService) VerifyRequestSignature ¶
type RevokeByPrivateKeyRequest ¶ added in v0.17.1
type RevokeByPrivateKeyRequest struct {
	PrivateKey string `json:"privkey" validate:"required"`
}
     Click to show internal directories. 
   Click to hide internal directories.