ProtectedwebviewThis method retrieves the current logged-in user's information from the Wepin.
This method retrieves the current firebase token's information from the Wepin.
OptionalprevFBToken: LoginResultLoginResult
- provider 'email'|'apple'|'google'|'discord'|'naver'|'external_token'
- token {idToken: string, refreshToken: string}. this value is response of @wepin/login-js
Returns the user's login information.
This method with the same as loginWithUI() of WepinSDK module, but it doesn't show the widget.
Additionally, the parameters for this method should utilize the return values from the loginWithOauthProvider(), loginWithEmailAndPassword(), loginWithIdToken(), and loginWithAccessToken() methods.
Logs into Wepin firebase with an external access token. Returns firebase login info upon successful login.
{ provider: 'naver' | 'discord'|'facebook', token: string, sign: string }
It logs in to the Wepin firebase with your email and password. Returns firebase login info upon successful login.
User email
User password
Logs into Wepin firebase with an external id token. Returns firebase login info upon successful login.
{ token: string, sign: string }
A new window will open and proceed to log in to Wepin Firebase. Returns Firebase login info upon successful login.
If the response contains an error value of required/register_email, you need to register an email and request email verification using the sendVerifyEmail method.
{provider: string, withLogout?: boolean} - provider accepts one of the following values: 'google', 'naver', 'discord', 'apple', 'line', 'facebook'
Method for registering an email and requesting email verification.
If a required/register_email error occurs, you need to register an email and request email verification.
Once email verification is complete, you should use the loginWithAccessToken or loginWithIdToken method to log in again with the AccessToken or IdToken used for the initial login.
{ email: string, provider: LoginProviders, idToken?: string, accessToken?: string } - The provider accepts one of the following values: 'google', 'naver', 'discord', 'apple', 'line', 'facebook'
It signs up on the wepin firebase with your email and password. Returns firebase login info upon successful login.
User email
User password
OptionalopenWepinWallet: boolean
change language