1 Star 0 Fork 2

NilOrganization / oauth2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
keys.go 1.11 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Keng 提交于 2020-05-16 13:17 . 添加 省内端点(Token Introspection)
package oauth2
const (
// ResponseTypeKey ...
ResponseTypeKey = "response_type"
// ClientIDKey ...
ClientIDKey = "client_id"
// ClientSecretKey ...
ClientSecretKey = "client_secret"
// RedirectURIKey ...
RedirectURIKey = "redirect_uri"
// ScopeKey ...
ScopeKey = "scope"
// StateKey ...
StateKey = "state"
// GrantTypeKey ...
GrantTypeKey = "grant_type"
// CodeKey ...
CodeKey = "code"
// TokenKey ...
TokenKey = "token"
// ErrorKey ...
ErrorKey = "error"
// AccessTokenKey ...
AccessTokenKey = "access_token"
// TokenTypeKey ...
TokenTypeKey = "token_type"
// ClientCredentialsKey ...
ClientCredentialsKey = "client_credentials"
// PasswordKey ...
PasswordKey = "password"
// UsernameKey ...
UsernameKey = "username"
// RefreshTokenKey ...
RefreshTokenKey = "refresh_token"
// AuthorizationCodeKey ...
AuthorizationCodeKey = "authorization_code"
// DeviceCodeKey ...
DeviceCodeKey = "device_code"
// UrnIetfParamsOAuthGrantTypeDeviceCodeKey ...
UrnIetfParamsOAuthGrantTypeDeviceCodeKey = "urn:ietf:params:oauth:grant-type:device_code"
// TokenTypeHintKey ...
TokenTypeHintKey = "token_type_hint"
)
Go
1
https://gitee.com/nilorg/oauth2.git
git@gitee.com:nilorg/oauth2.git
nilorg
oauth2
oauth2
master

搜索帮助

14c37bed 8189591 565d56ea 8189591