Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveClient ¶ added in v0.15.12
func RemoveClient(clientId string)
Types ¶
type Config ¶
type Config struct {
application.Auth
Users []*User `json:"users" label:"用户列表"`
}
type IClient ¶ added in v0.15.12
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager 管理oauth2配置
func NewManager ¶
func NewManager() *Manager
type Pattern ¶
type Pattern struct {
ClientId string `json:"client_id" label:"客户端ID"`
ClientSecret string `json:"client_secret" label:"客户端密钥"`
ClientType string `json:"client_type" label:"客户端类型" enum:"public,confidential"`
HashSecret bool `json:"hash_secret" label:"是否Hash加密"`
RedirectUrls []string `json:"redirect_urls" label:"重定向URL列表"`
}
Click to show internal directories.
Click to hide internal directories.