appenginevm_hook.go 359 B

123456789101112131415
  1. // Copyright 2015 The oauth2 Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build appenginevm
  5. package google
  6. import "google.golang.org/appengine"
  7. func init() {
  8. appengineVM = true
  9. appengineTokenFunc = appengine.AccessToken
  10. appengineAppIDFunc = appengine.AppID
  11. }