Copyright 2018 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
+build !appengine
This file applies to App Engine second generation runtimes (>= Go 1.11) and App Engine flexible.

package google

import (
	
	
	

	
)

var logOnce sync.Once // only spam about deprecation once
See comment on AppEngineTokenSource in appengine.go.
func ( context.Context,  ...string) oauth2.TokenSource {
	logOnce.Do(func() {
		log.Print("google: AppEngineTokenSource is deprecated on App Engine standard second generation runtimes (>= Go 1.11) and App Engine flexible. Please use DefaultTokenSource or ComputeTokenSource.")
	})
	return ComputeTokenSource("")