connector

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure added in v0.1.2

func Configure(ctx context.Context, docusignCfg *cfg.Docusign) error

Configure handles the OAuth2 authorization flow to obtain a refresh token.

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

func NewWithClient added in v0.0.2

func NewWithClient(client *client.Client, includeSigningGroups bool) (*Connector, error)

func NewWithRefreshToken added in v0.1.2

func NewWithRefreshToken(ctx context.Context, isDemo bool, clientId, clientSecret, redirectURI, refreshToken string, includeSigningGroups bool) (*Connector, error)

func NewWithTokenSource added in v0.1.2

func NewWithTokenSource(ctx context.Context, isDemo bool, tokenSource oauth2.TokenSource, includeSigningGroups bool) (*Connector, error)

func (*Connector) Asset

func (*Connector) Metadata

func (d *Connector) Metadata(_ context.Context) (*v2.ConnectorMetadata, error)

func (*Connector) ResourceSyncers

func (d *Connector) ResourceSyncers(_ context.Context) []connectorbuilder.ResourceSyncerV2

func (*Connector) Validate

Jump to

Keyboard shortcuts

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