메서드
Wepin Provider SDK 초기화 이후 사용할 수 있습니다.
login
Available Methods
Example
// Login using an OAuth provider
const oauthResult = await wepinProvider.login.loginWithOauthProvider({
provider: 'google',
clientId: 'your-client-id',
});
// Sign up and log in using email and password
const signUpResult = await wepinProvider.login.signUpWithEmailAndPassword(
'[email protected]',
'password123'
);
// Log in to Wepin
const wepinLoginResult = await wepinProvider.login.loginWepin(signUpResult);
// Get the currently logged-in user
const currentUser = await wepinProvider.login.getCurrentWepinUser();
// Logout
await wepinProvider.login.logout();getProvider
Parameters
Return value
Example
finalize
Parameters
Return value
Example
Last updated
Was this helpful?