Documentation ¶
Index ¶
- type Client
- type ClientOption
- type GrantRequestCmd
- func (cmd *GrantRequestCmd) AddAccessTokens(v ...*gnap.AccessTokenRequest) *GrantRequestCmd
- func (cmd *GrantRequestCmd) AddCapabilities(v ...string) *GrantRequestCmd
- func (cmd *GrantRequestCmd) Client(v *gnap.Client) *GrantRequestCmd
- func (cmd *GrantRequestCmd) Do(ctx context.Context) error
- func (cmd *GrantRequestCmd) Interact(v *gnap.Interaction) *GrantRequestCmd
- func (cmd *GrantRequestCmd) Subject(v *gnap.SubjectRequest) *GrantRequestCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...ClientOption) *Client
func (*Client) NewGrantRequest ¶
func (client *Client) NewGrantRequest() *GrantRequestCmd
type ClientOption ¶
func WithHTTPClient ¶
func WithHTTPClient(v *http.Client) ClientOption
type GrantRequestCmd ¶
type GrantRequestCmd struct {
// contains filtered or unexported fields
}
func (*GrantRequestCmd) AddAccessTokens ¶
func (cmd *GrantRequestCmd) AddAccessTokens(v ...*gnap.AccessTokenRequest) *GrantRequestCmd
func (*GrantRequestCmd) AddCapabilities ¶
func (cmd *GrantRequestCmd) AddCapabilities(v ...string) *GrantRequestCmd
func (*GrantRequestCmd) Client ¶
func (cmd *GrantRequestCmd) Client(v *gnap.Client) *GrantRequestCmd
func (*GrantRequestCmd) Interact ¶
func (cmd *GrantRequestCmd) Interact(v *gnap.Interaction) *GrantRequestCmd
func (*GrantRequestCmd) Subject ¶
func (cmd *GrantRequestCmd) Subject(v *gnap.SubjectRequest) *GrantRequestCmd
Click to show internal directories.
Click to hide internal directories.