Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessHandler ¶
type AccessHandler struct { A access_tokens.AccessTokensRepository O access_object.AccessObjectRepository }
func NewProviderHandler ¶
func NewProviderHandler() *AccessHandler
func (*AccessHandler) SetupRoutes ¶
func (A *AccessHandler) SetupRoutes(router *gin.RouterGroup)
SetupRoutes Define the (sub)routes handled by JSONDecoratorHandler
type AccessSerializer ¶
type AccessSerializer struct { C *gin.Context Access access_object.AccessObject }
func (*AccessSerializer) Response ¶
func (a *AccessSerializer) Response() api.AccessResponse
type AccessTokenRequestValidator ¶
type AccessTokenRequestValidator struct { AccessTokenRequest struct { Scope string `json:"scope" binding:"required,validScope,max=512"` Identities []string `json:"identities" binding:"required,unique,gte=1,lte=1000,dive,max=1024"` EndDate string `json:"endDate" binding:"omitempty,validEndDateFormat,validEndDateIsFuture,validEndDateIsNotTooLate"` Params map[string]interface{} `json:"params"` } `json:"access"` AccessTokenModel access_tokens.AccessToken `json:"-"` }
func NewAccessTokenRequestValidator ¶
func NewAccessTokenRequestValidator() AccessTokenRequestValidator
Click to show internal directories.
Click to hide internal directories.