bn.login
▸ login(): Promise
<LoginResult
>
description
Gets the login credential (code), which is then used to exchange for the user login status information, including the unique identifier (openid) of the user and the session key (session_key) of the current login.
Returns
Promise
<LoginResult
>
login information
#
Interface: LoginResultName | Type | Description |
---|---|---|
code | string | The authorization code |