type golang.org/x/oauth2.TokenSource
30 uses
golang.org/x/oauth2 (current package)
oauth2.go#L63: type TokenSource interface {
oauth2.go#L239: func (c *Config) TokenSource(ctx context.Context, t *Token) TokenSource {
oauth2.go#L289: new TokenSource // called when t is expired.
oauth2.go#L315: func StaticTokenSource(t *Token) TokenSource {
oauth2.go#L342: func NewClient(ctx context.Context, src TokenSource) *http.Client {
oauth2.go#L366: func ReuseTokenSource(t *Token, src TokenSource) TokenSource {
transport.go#L23: Source TokenSource
golang.org/x/oauth2/google
appengine.go#L36: func AppEngineTokenSource(ctx context.Context, scope ...string) oauth2.TokenSource {
appengine_gen2_flex.go#L22: func appEngineTokenSource(ctx context.Context, scope ...string) oauth2.TokenSource {
default.go#L26: TokenSource oauth2.TokenSource
default.go#L53: func DefaultTokenSource(ctx context.Context, scope ...string) (oauth2.TokenSource, error) {
google.go#L130: func (f *credentialsFile) tokenSource(ctx context.Context, scopes []string) (oauth2.TokenSource, error) {
google.go#L158: func ComputeTokenSource(account string, scope ...string) oauth2.TokenSource {
jwt.go#L26: func JWTAccessTokenSourceFromJSON(jsonKey []byte, audience string) (oauth2.TokenSource, error) {
sdk.go#L141: func (c *SDKConfig) TokenSource(ctx context.Context) oauth2.TokenSource {
golang.org/x/oauth2/jwt
jwt.go#L81: func (c *Config) TokenSource(ctx context.Context) oauth2.TokenSource {
google.golang.org/api/idtoken
compute.go#L20: func computeTokenSource(audience string, ds *internal.DialSettings) (oauth2.TokenSource, error) {
idtoken.go#L67: func NewTokenSource(ctx context.Context, audience string, opts ...ClientOption) (oauth2.TokenSource, error) {
idtoken.go#L87: func newTokenSource(ctx context.Context, audience string, ds *internal.DialSettings) (oauth2.TokenSource, error) {
idtoken.go#L103: func tokenSourceFromBytes(ctx context.Context, data []byte, audience string, ds *internal.DialSettings) (oauth2.TokenSource, error) {
google.golang.org/api/internal
creds.go#L93: func selfSignedJWTTokenSource(data []byte, endpoint string, audiences []string) (oauth2.TokenSource, error) {
settings.go#L26: TokenSource oauth2.TokenSource
google.golang.org/api/internal/impersonate
impersonate.go#L35: func TokenSource(ctx context.Context, ts oauth2.TokenSource, config *Config) (oauth2.TokenSource, error) {
impersonate.go#L75: ts oauth2.TokenSource
google.golang.org/api/option
option.go#L25: func WithTokenSource(s oauth2.TokenSource) ClientOption {
option.go#L29: type withTokenSource struct{ ts oauth2.TokenSource }
google.golang.org/api/transport/grpc
dial.go#L247: func isTokenSourceDirectPathCompatible(ts oauth2.TokenSource) bool {
google.golang.org/grpc/credentials/oauth
oauth.go#L36: oauth2.TokenSource
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |