我想使用这种登录方法创建一个登录页面
Auth.auth().signIn(withCustomToken: customToken ?? "") { (user, error) in
//...
}
我们可以为这个功能设置多个 token 参数(注册 ID 和密码)吗?如果是那么怎么办? Firebase Documentation
最佳答案
不可以,您不能使用 Firebase 的单点登录创建多个 token 。
你有
Auth.auth().signIn(withCustomToken: "", completion: { (user, error) in
})
Auth.auth().signIn(withEmail: "", password: "", completion: { (user, error) in
})
关于ios - 使用 firebase 登录时使用多个 token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50546661/