![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v4.
directory
Version:
v2.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Jul 12, 2016
License: Apache-2.0
Opens a new window with license information.
README
¶
OAuth2授权码模式模拟
运行服务端
运行fasthttp服务端,请使用cd example/fastserver
$ cd example/server
$ go run main.go
运行客户端
$ cd example/client
$ go run main.go
打开浏览器
http://localhost:9094
{
"access_token": "143C1A45CFF9E0922F9DC68F7EBC81DC",
"expires_in": 7200,
"refresh_token": "5BD7453B8E7C5A3A308166F1675AD57216811391",
"scope": "all",
"token_type": "Bearer"
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.