Skip to main content

authenticate

Function authenticate 

Source
pub async fn authenticate(config: &AuthConfig) -> Result<AuthResult>
Expand description

完整密码鉴权(优先用保存的凭据跳过验证码)

CLI 模式使用 authenticate() 从 stdin 读取验证码; GUI 模式使用 authenticate_with_callback() 通过回调获取。