forked from Mirrors/oauth2
oauth2: add vanity URL import comments, use the vanity URL on builds
Change-Id: Ia20e40d98aa709e3d598388e0a15501584152ab5
This commit is contained in:
parent
b846388564
commit
e750a2fd5a
|
@ -1,8 +1,10 @@
|
||||||
language: go
|
language: go
|
||||||
go: 1.3
|
go:
|
||||||
|
- 1.3
|
||||||
|
- tip
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get -v -tags='appengine appenginevm' ./...
|
- go get -v -tags='appengine appenginevm' golang.org/x/oauth2/...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v -tags='appengine appenginevm' ./...
|
- go test -v -tags='appengine appenginevm' golang.org/x/oauth2/...
|
||||||
|
|
|
@ -7,13 +7,13 @@ oauth2 package contains a client implementation for OAuth 2.0 spec.
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
go get github.com/golang/oauth2
|
go get golang.org/x/oauth2
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
See godoc for further documentation and examples.
|
See godoc for further documentation and examples.
|
||||||
|
|
||||||
* [godoc.org/github.com/golang/oauth2](http://godoc.org/github.com/golang/oauth2)
|
* [godoc.org/golang.org/x/oauth2](http://godoc.org/golang.org/x/oauth2)
|
||||||
* [godoc.org/github.com/golang/oauth2/google](http://godoc.org/github.com/golang/oauth2/google)
|
* [godoc.org/golang.org/x/oauth2/google](http://godoc.org/golang.org/x/oauth2/google)
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO(jbd): Remove after Go 1.4.
|
// TODO(jbd): Remove after Go 1.4.
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
|
|
||||||
"appengine"
|
"appengine"
|
||||||
"appengine/memcache"
|
"appengine/memcache"
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
|
|
||||||
"appengine"
|
"appengine"
|
||||||
"appengine/memcache"
|
"appengine/memcache"
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"google.golang.org/appengine"
|
"google.golang.org/appengine"
|
||||||
"google.golang.org/appengine/memcache"
|
"google.golang.org/appengine/memcache"
|
||||||
)
|
)
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"google.golang.org/appengine"
|
"google.golang.org/appengine"
|
||||||
"google.golang.org/appengine/memcache"
|
"google.golang.org/appengine/memcache"
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"github.com/golang/oauth2/google"
|
"golang.org/x/oauth2/google"
|
||||||
"google.golang.org/appengine"
|
"google.golang.org/appengine"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
//
|
//
|
||||||
// For more information, please read
|
// For more information, please read
|
||||||
// https://developers.google.com/accounts/docs/OAuth2.
|
// https://developers.google.com/accounts/docs/OAuth2.
|
||||||
package google
|
package google // import "golang.org/x/oauth2/google"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
@ -22,8 +22,8 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"github.com/golang/oauth2/internal"
|
"golang.org/x/oauth2/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// Package jws provides encoding and decoding utilities for
|
// Package jws provides encoding and decoding utilities for
|
||||||
// signed JWS messages.
|
// signed JWS messages.
|
||||||
package jws
|
package jws // import "golang.org/x/oauth2/jws"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
4
jwt.go
4
jwt.go
|
@ -13,8 +13,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang/oauth2/internal"
|
"golang.org/x/oauth2/internal"
|
||||||
"github.com/golang/oauth2/jws"
|
"golang.org/x/oauth2/jws"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
// Package oauth2 provides support for making
|
// Package oauth2 provides support for making
|
||||||
// OAuth2 authorized and authenticated HTTP requests.
|
// OAuth2 authorized and authenticated HTTP requests.
|
||||||
// It can additionally grant authorization with Bearer JWT.
|
// It can additionally grant authorization with Bearer JWT.
|
||||||
package oauth2
|
package oauth2 // import "golang.org/x/oauth2"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/rsa"
|
"crypto/rsa"
|
||||||
|
|
Loading…
Reference in New Issue