client

package
v0.0.0-...-c72ef8c Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

type ClientOption interface {
	option.Interface
	// contains filtered or unexported methods
}

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) Do

func (cmd *GrantRequestCmd) Do(ctx context.Context) error

func (*GrantRequestCmd) Interact

func (cmd *GrantRequestCmd) Interact(v *gnap.Interaction) *GrantRequestCmd

func (*GrantRequestCmd) Subject

Jump to

Keyboard shortcuts

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