Skip to content

Commit

Permalink
vendor: reduce third party dependencies - closes #116
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas Rekkas (arekkas) authored and arekkas committed Oct 16, 2016
1 parent f864e26 commit 5ec5cff
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 77 deletions.
2 changes: 0 additions & 2 deletions compose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package compose
import (
"crypto/rsa"

"github.com/Sirupsen/logrus"
"github.com/ory-am/fosite"
)

Expand Down Expand Up @@ -37,7 +36,6 @@ func Compose(config *Config, storage interface{}, strategy interface{}, handlers
TokenIntrospectionHandlers: fosite.TokenIntrospectionHandlers{},
RevocationHandlers: fosite.RevocationHandlers{},
Hasher: &fosite.BCrypt{WorkFactor: config.GetHashCost()},
Logger: &logrus.Logger{},
ScopeStrategy: fosite.HierarchicScopeStrategy,
}

Expand Down
3 changes: 0 additions & 3 deletions fosite.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package fosite

import (
"reflect"

"github.com/Sirupsen/logrus"
)

// AuthorizeEndpointHandlers is a list of AuthorizeEndpointHandler
Expand Down Expand Up @@ -70,6 +68,5 @@ type Fosite struct {
TokenIntrospectionHandlers TokenIntrospectionHandlers
RevocationHandlers RevocationHandlers
Hasher Hasher
Logger logrus.StdLogger
ScopeStrategy ScopeStrategy
}
81 changes: 35 additions & 46 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 13 additions & 26 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,50 +1,37 @@
package: github.com/ory-am/fosite
import:
- package: github.com/Sirupsen/logrus
version: ~0.10.0
- package: github.com/asaskevich/govalidator
version: ~4.0.0
version: ~5.0.0
- package: github.com/dgrijalva/jwt-go
version: ~3.0.0
- package: github.com/golang/mock
subpackages:
- gomock
- package: github.com/parnurzeal/gorequest
version: ~0.2.13
- package: github.com/pborman/uuid
version: ~1.0.0
- package: github.com/pkg/errors
version: ~0.7.0
version: ~0.8.0
- package: github.com/square/go-jose
version: ~1.1.0
subpackages:
- json
- package: golang.org/x/crypto
subpackages:
- bcrypt
- package: golang.org/x/net
subpackages:
- context
- package: golang.org/x/oauth2
subpackages:
- clientcredentials
testImport:
- package: github.com/gorilla/mux
version: ~1.1.0
- package: github.com/gorilla/context
version: ~1.1.0
- package: github.com/go-errors/errors
- package: github.com/oleiade/reflections
version: ~0.1.2
- package: github.com/ory-am/common
testImport:
subpackages:
- pkg
- package: github.com/stretchr/testify
version: ~1.1.3
version: ~1.1.4
subpackages:
- assert
- require
- package: gopkg.in/gemnasium/logrus-airbrake-hook.v2
version: ^2.0.0
- package: gopkg.in/airbrake/gobrake.v2
version: ^2.0.6
- package: github.com/onsi/ginkgo
version: ^1.2.0
- package: github.com/elazarl/goproxy
version: ^1.0.0
- package: github.com/onsi/gomega
version: ^1.0.0
- package: golang.org/x/oauth2
subpackages:
- clientcredentials

0 comments on commit 5ec5cff

Please sign in to comment.