mirror of
https://github.com/fatedier/frp.git
synced 2025-08-04 20:49:04 +00:00
add tokenSource support for auth configuration (#4865)
This commit is contained in:
@@ -37,7 +37,9 @@ type Client struct {
|
||||
|
||||
func NewClient(options ClientOptions) (*Client, error) {
|
||||
if options.Common != nil {
|
||||
options.Common.Complete()
|
||||
if err := options.Common.Complete(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
ln := netpkg.NewInternalListener()
|
||||
|
Reference in New Issue
Block a user