Movatterモバイル変換


[0]ホーム

URL:


externalaccountauthorizeduser

package
v0.34.0Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License:BSD-3-ClauseImports:5Imported by:0

Details

Repository

cs.opensource.google/go/x/oauth2

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeConfig

type Config struct {// Audience is the Secure Token Service (STS) audience which contains the resource name for the workforce pool and// the provider identifier in that pool.Audiencestring// RefreshToken is the optional OAuth 2.0 refresh token. If specified, credentials can be refreshed.RefreshTokenstring// TokenURL is the optional STS token exchange endpoint for refresh. Must be specified for refresh, can be left as// None if the token can not be refreshed.TokenURLstring// TokenInfoURL is the optional STS endpoint URL for token introspection.TokenInfoURLstring// ClientID is only required in conjunction with ClientSecret, as described above.ClientIDstring// ClientSecret is currently only required if token_info endpoint also needs to be called with the generated GCP// access token. When provided, STS will be called with additional basic authentication using client_id as username// and client_secret as password.ClientSecretstring// Token is the OAuth2.0 access token. Can be nil if refresh information is provided.Tokenstring// Expiry is the optional expiration datetime of the OAuth 2.0 access token.Expirytime.Time// RevokeURL is the optional STS endpoint URL for revoking tokens.RevokeURLstring// QuotaProjectID is the optional project ID used for quota and billing. This project may be different from the// project used to create the credentials.QuotaProjectIDstringScopes         []string}

func (*Config)TokenSource

func (c *Config) TokenSource(ctxcontext.Context) (oauth2.TokenSource,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp