diff --git a/README.md b/README.md index 21ea8bf..aa31a91 100644 --- a/README.md +++ b/README.md @@ -36,15 +36,6 @@ $ go get -u gopkg.in/oauth2.v3 ``` -#### Or use [glide](https://github.com/Masterminds/glide) - -``` bash -$ cd $GOPATH/src -$ git clone https://github.com/go-oauth2/oauth2 gopkg.in/oauth2.v3 -$ cd gopkg.in/oauth2.v3 -$ glide install -``` - ### Create file `server.go` ``` go diff --git a/model.go b/model.go index 3ef41ee..2f960b3 100644 --- a/model.go +++ b/model.go @@ -8,7 +8,6 @@ type ( GetID() string GetSecret() string GetDomain() string - GetExtraData() interface{} } // TokenInfo the token information model interface diff --git a/models/client.go b/models/client.go index 8e44b27..a3cb525 100644 --- a/models/client.go +++ b/models/client.go @@ -21,8 +21,3 @@ func (c *Client) GetSecret() string { func (c *Client) GetDomain() string { return c.Domain } - -// GetExtraData extension data related to the client -func (c *Client) GetExtraData() interface{} { - return nil -}