Documentation ¶
Index ¶
- Variables
- type Connector
- func (c *Connector) Close() error
- func (c *Connector) GetPostAuthInfo(ctx context.Context) (*common.PostAuthInfo, error)
- func (c *Connector) HTTPClient() *common.HTTPClient
- func (c *Connector) HandleError(err error) error
- func (c *Connector) JSONHTTPClient() *common.JSONHTTPClient
- func (c *Connector) Provider() providers.Provider
- func (c *Connector) String() string
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoDefaultAccount = errors.New("no default account found in user info") ErrNoAccounts = errors.New("no accounts found in user info") ErrParsingServer = errors.New("error parsing server from user info") )
View Source
var ErrMissingClient = errors.New("JSON http client not set")
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { ProviderInfo *providers.ProviderInfo Client *common.JSONHTTPClient }
func NewConnector ¶
func (*Connector) GetPostAuthInfo ¶
func (*Connector) HTTPClient ¶
func (c *Connector) HTTPClient() *common.HTTPClient
func (*Connector) HandleError ¶
func (*Connector) JSONHTTPClient ¶
func (c *Connector) JSONHTTPClient() *common.JSONHTTPClient
JSONHTTPClient returns the underlying JSON HTTP client.
type Option ¶
type Option func(params *docusignParams)
func WithAuthenticatedClient ¶
func WithAuthenticatedClient(client common.AuthenticatedHTTPClient) Option
Click to show internal directories.
Click to hide internal directories.