Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
type Capabilities struct {
api.Capabilities
}
Capabilities extends the api.Capabilities with profile unmarshalling
func (Capabilities) MarshalJSON ¶
func (p Capabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler
func (*Capabilities) UnmarshalJSON ¶
func (p *Capabilities) UnmarshalJSON(bytes []byte) error
UnmarshalJSON implements the json.Marshaler interface
type GeneralMytokenRequest ¶
type GeneralMytokenRequest struct { api.GeneralMytokenRequest Restrictions Restrictions `json:"restrictions,omitempty"` Capabilities Capabilities `json:"capabilities,omitempty"` Rotation *Rotation `json:"rotation,omitempty"` GrantType model.GrantType `json:"grant_type"` ResponseType model.ResponseType `json:"response_type"` }
GeneralMytokenRequest extends the api.GeneralMytokenRequest with profile unmarshalling
func NewGeneralMytokenRequest ¶
func NewGeneralMytokenRequest() *GeneralMytokenRequest
NewGeneralMytokenRequest creates a GeneralMytokenRequest with default values
func (*GeneralMytokenRequest) UnmarshalJSON ¶
func (r *GeneralMytokenRequest) UnmarshalJSON(bytes []byte) error
UnmarshalJSON implements the json.Marshaler interface
type Restrictions ¶
type Restrictions struct {
restrictions.Restrictions
}
Restrictions extends the restrictions.Restrictions with profile unmarshalling
func (Restrictions) MarshalJSON ¶
func (p Restrictions) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler
func (*Restrictions) UnmarshalJSON ¶
func (p *Restrictions) UnmarshalJSON(bytes []byte) error
UnmarshalJSON implements the json.Marshaler interface
type Rotation ¶
type Rotation struct {
api.Rotation
}
Rotation extends the api.Rotation with profile unmarshalling
func (Rotation) MarshalJSON ¶
MarshalJSON implements the json.Marshaler
func (*Rotation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Marshaler interface