mirror of
https://github.com/fatedier/frp.git
synced 2025-08-04 12:43:09 +00:00
code optimization (#3625)
This commit is contained in:
@@ -165,7 +165,7 @@ type AuthClientConfig struct {
|
||||
// authenticate frpc with frps. If "token" is specified - token will be
|
||||
// read into login message. If "oidc" is specified - OIDC (Open ID Connect)
|
||||
// token will be issued using OIDC settings. By default, this value is "token".
|
||||
Method string `json:"method,omitempty"`
|
||||
Method AuthMethod `json:"method,omitempty"`
|
||||
// Specify whether to include auth info in additional scope.
|
||||
// Current supported scopes are: "HeartBeats", "NewWorkConns".
|
||||
AdditionalScopes []AuthScope `json:"additionalScopes,omitempty"`
|
||||
|
Reference in New Issue
Block a user