BKSession
extension BKSession
-
Copyright © 2018 Ruoyang Xu. MIT License. Copyright © 2017 Rsplwe. MIT License.
Declaration
Swift
public func login(_ username: String, password: String, completionHandler handle: @escaping BKHandler<BKCookie>) -
Manages login into bilibili with QRCode
See moreDeclaration
Swift
public class QRCodeLoginHelper -
Start an attempt to login.
Declaration
Swift
public func login(withHelper helper: QRCodeLoginHelper = .default, handleLoginInfo: @escaping (QRCodeLoginHelper.LoginURL) -> Void, handleLoginState: @escaping (QRCodeLoginHelper.LoginState) -> Void)Parameters
handleLoginInfoto display
LoginURLto user.handleLoginStateto handle different stages in this process.
View on GitHub
Install in Dash
BKSession Extension Reference