Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoCredentials = errors.New("no oauth2 credentials found") ErrMultipleCredentials = errors.New("unexpected multiple oauth2 credentials found") )
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type CredentialsManager ¶
type CredentialsManager interface { GenerateAuthorizationURL() string GenerateCredentials(data gjson.Result) (*Credentials, error) RefreshCredentials() (*Credentials, error) CredentialsExpiry() time.Time }
Click to show internal directories.
Click to hide internal directories.