Documentation
¶
Overview ¶
Package googleworkspace owns Google Workspace consent plans and OAuth grants.
Index ¶
- Constants
- type Adapter
- func (a *Adapter) AuthorizationURL(ctx context.Context, params credentialssvc.AuthorizationURLParams) (string, error)
- func (a *Adapter) ExchangeCode(ctx context.Context, params credentialssvc.ExchangeCodeParams) (credentialssvc.OAuthTokenSet, error)
- func (*Adapter) OAuthScopePlanForInstall(params credentialssvc.OAuthScopePlanParams) credentialssvc.OAuthScopePlan
- func (a *Adapter) Refresh(ctx context.Context, params credentialssvc.RefreshParams) (credentialssvc.OAuthTokenSet, error)
- func (a *Adapter) Revoke(ctx context.Context, params credentialssvc.RevokeProviderGrantParams) error
- type Config
Constants ¶
View Source
const SelectedFiles = workspace.SelectedFiles
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) AuthorizationURL ¶
func (a *Adapter) AuthorizationURL(ctx context.Context, params credentialssvc.AuthorizationURLParams) (string, error)
func (*Adapter) ExchangeCode ¶
func (a *Adapter) ExchangeCode(ctx context.Context, params credentialssvc.ExchangeCodeParams) (credentialssvc.OAuthTokenSet, error)
func (*Adapter) OAuthScopePlanForInstall ¶
func (*Adapter) OAuthScopePlanForInstall(params credentialssvc.OAuthScopePlanParams) credentialssvc.OAuthScopePlan
func (*Adapter) Refresh ¶
func (a *Adapter) Refresh(ctx context.Context, params credentialssvc.RefreshParams) (credentialssvc.OAuthTokenSet, error)
func (*Adapter) Revoke ¶
func (a *Adapter) Revoke(ctx context.Context, params credentialssvc.RevokeProviderGrantParams) error
type Config ¶
type Config = googleoauth.Config
Click to show internal directories.
Click to hide internal directories.