Documentation
¶
Overview ¶
Package bigquery implements the provider-owned Google OAuth2 boundary for BigQuery.
Index ¶
- 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 (a *Adapter) OAuthScopePlan() 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 ¶
This section is empty.
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) OAuthScopePlan ¶
func (a *Adapter) OAuthScopePlan() 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.