profiled

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 6 Imported by: 0

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

func (p Rotation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler

func (*Rotation) UnmarshalJSON

func (p *Rotation) UnmarshalJSON(bytes []byte) error

UnmarshalJSON implements the json.Marshaler interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL