2019-06-27 17:04:25 +08:00
|
|
|
package auth
|
|
|
|
|
|
|
|
import (
|
2023-11-03 21:01:45 +08:00
|
|
|
"github.com/metacubex/mihomo/component/auth"
|
2019-06-27 17:04:25 +08:00
|
|
|
)
|
|
|
|
|
2021-10-10 23:44:09 +08:00
|
|
|
var authenticator auth.Authenticator
|
2019-06-27 17:04:25 +08:00
|
|
|
|
|
|
|
func Authenticator() auth.Authenticator {
|
|
|
|
return authenticator
|
|
|
|
}
|
|
|
|
|
|
|
|
func SetAuthenticator(au auth.Authenticator) {
|
|
|
|
authenticator = au
|
|
|
|
}
|