Skip to content

Commit

Permalink
all: goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas Rekkas (arekkas) committed May 26, 2016
1 parent 99c836c commit 96be194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ type Client interface {
// DefaultClient is a simple default implementation of the Client interface.
type DefaultClient struct {
ID string `json:"id" gorethink:"id"`
Name string `json:"name" gorethink:"name"`
Secret []byte `json:"secret,omitempty" gorethink:"secret"`
Name string `json:"client_name" gorethink:"client_name"`
Secret []byte `json:"client_secret,omitempty" gorethink:"client_secret"`
RedirectURIs []string `json:"redirect_uris" gorethink:"redirect_uris"`
GrantTypes []string `json:"grant_types" gorethink:"grant_types"`
ResponseTypes []string `json:"response_types" gorethink:"response_types"`
Expand Down
2 changes: 1 addition & 1 deletion handler/core/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestHandleTokenEndpointRequest(t *testing.T) {
areq.EXPECT().GrantScope("foo")
areq.EXPECT().GrantScope("baz.bar")
areq.EXPECT().GetClient().Return(&fosite.DefaultClient{
GrantTypes: fosite.Arguments{"client_credentials"},
GrantTypes: fosite.Arguments{"client_credentials"},
GrantedScopes: []string{"foo", "baz"},
})
},
Expand Down
2 changes: 1 addition & 1 deletion handler/core/strategy/jwt.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package strategy

import (
"github.com/go-errors/errors"
"github.com/ory-am/fosite"
"github.com/ory-am/fosite/token/jwt"
"golang.org/x/net/context"
"github.com/go-errors/errors"
)

type JWTSessionContainer interface {
Expand Down

0 comments on commit 96be194

Please sign in to comment.