File tree Expand file tree Collapse file tree 8 files changed +102
-10
lines changed Expand file tree Collapse file tree 8 files changed +102
-10
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,5 @@ _testmain.go
2222* .exe
2323* .test
2424* .prof
25+
26+ .history /
Original file line number Diff line number Diff line change 55## Install
66
77``` bash
8- $ go get -u -v gopkg.in/ go-oauth2/ mongo.v3
8+ $ go get -u -v github.com/dxtrleague/ go-oauth2- mongo
99```
1010
1111## Usage
@@ -14,8 +14,8 @@ $ go get -u -v gopkg.in/go-oauth2/mongo.v3
1414package main
1515
1616import (
17- " gopkg.in/ go-oauth2/ mongo.v3 "
18- " gopkg.in/ oauth2.v3 /manage"
17+ " github.com/dxtrleague/ go-oauth2- mongo"
18+ " github.com/go- oauth2/oauth2/v4 /manage"
1919)
2020
2121func main () {
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ package mongo
22
33import (
44"github.com/globalsign/mgo"
5- "gopkg.in/ oauth2.v3 "
6- "gopkg.in/ oauth2.v3 /models"
5+ "github.com/go- oauth2/oauth2/v4 "
6+ "github.com/go- oauth2/oauth2/v4 /models"
77)
88
99// ClientConfig client configuration parameters
Original file line number Diff line number Diff line change 44"testing"
55
66. "github.com/smartystreets/goconvey/convey"
7- "gopkg.in/ oauth2.v3 /models"
7+ "github.com/go- oauth2/oauth2/v4 /models"
88)
99
1010func TestClientStore (t * testing.T ) {
Original file line number Diff line number Diff line change 1- module gopkg.in/ go-oauth2/ mongo.v3
1+ module github.com/dxtrleague/ go-oauth2- mongo
22
33go 1.13
44
55require (
66github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
7+ github.com/go-oauth2/oauth2/v4 v4.1.2 // indirect
8+ github.com/kr/pretty v0.2.1 // indirect
9+ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
710github.com/smartystreets/goconvey v1.6.4
11+ golang.org/x/net v0.0.0-20201010224723-4f7140c49acb // indirect
12+ gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
813gopkg.in/oauth2.v3 v3.12.0
914gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 // indirect
1015)
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 88"github.com/globalsign/mgo"
99"github.com/globalsign/mgo/bson"
1010"github.com/globalsign/mgo/txn"
11- "gopkg.in/ oauth2.v3 "
12- "gopkg.in/ oauth2.v3 /models"
11+ "github.com/go- oauth2/oauth2/v4 "
12+ "github.com/go- oauth2/oauth2/v4 /models"
1313)
1414
1515// TokenConfig token configuration parameters
Original file line number Diff line number Diff line change 55"testing"
66"time"
77
8- "gopkg.in/ oauth2.v3 /models"
8+ "github.com/go- oauth2/oauth2/v4 /models"
99
1010. "github.com/smartystreets/goconvey/convey"
1111)
You can’t perform that action at this time.
0 commit comments