Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedToken ¶ added in v1.4.0
type Config ¶
type Config struct { // Required: API authentication credentials Credentials struct { ClientID string ClientSecret string } // Optional: open a browser to complete authentication if user interaction is required OpenBrowser bool Authenticator InteractiveAuthenticator // Optional: token cache if caching previous credentials TokenCache *CachedToken // Optional: logger instance Logger *logrus.Logger // Optional: the API scope permissions that the token should have // limit this as much as possible to limit token leakage impact // https://intigriti.readme.io/reference/api-token-scopes APIScopes []string }
type InteractiveAuthenticator ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.