Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrantTypeInfoResponse ¶
type GrantTypeInfoResponse struct { api.GrantTypeInfoResponse TokenUpdate *my.MytokenResponse `json:"token_update,omitempty"` }
GrantTypeInfoResponse is a type for the response for listing grant types
func (*GrantTypeInfoResponse) SetTokenUpdate ¶
func (res *GrantTypeInfoResponse) SetTokenUpdate(tokenUpdate *my.MytokenResponse)
SetTokenUpdate implements the pkg.TokenUpdatableResponse interface
type GrantTypeRequest ¶
type GrantTypeRequest struct { api.GrantTypeRequest GrantType model.GrantType `json:"grant_type" xml:"grant_type" form:"grant_type"` Mytoken universalmytoken.UniversalMytoken `json:"mytoken" xml:"mytoken" form:"mytoken"` }
GrantTypeRequest is a type for a enable/disable grant type request
Click to show internal directories.
Click to hide internal directories.