Skip to content

Commit

Permalink
Merge pull request #16 from LyricTian/develop
Browse files Browse the repository at this point in the history
Modify README
  • Loading branch information
LyricTian authored Jul 27, 2016
2 parents 219090d + 2cb20c8 commit 8742789
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
func main() {
manager := manage.NewDefaultManager()
// token memory store
manager.MapTokenStorage(store.NewMemoryTokenStore(0))
manager.MustTokenStorage(store.NewMemoryTokenStore())
// client test store
manager.MapClientStorage(store.NewTestClientStore())

Expand Down Expand Up @@ -64,6 +64,12 @@ $ go build server.go
$ ./server
```

### Open in your web browser

```
http://localhost:9096/authorize?response_type=code&client_id=1&redirect_uri=http%253A%252F%252Flocalhost&scope=all&state=xyz
```

Features
--------

Expand All @@ -74,12 +80,14 @@ Features

Example
-------
> A complete example of simulation authorization code model
Simulation examples of authorization code model, please check [example](/example)

Storage implements
------------------

* [BuntDB](https://github.com/tidwall/buntdb)(The default storage)
* [Redis](https://github.com/go-oauth2/redis)
* [MongoDB](https://github.com/go-oauth2/mongo)

Expand Down

0 comments on commit 8742789

Please sign in to comment.