This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from magiclabs/ariflo-sc-72436-remove-magic-link
Removes Magic link Method
- Loading branch information
Showing
4 changed files
with
9 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
# magic-unity | ||
# Magic Unity | ||
|
||
Magic empowers developers to protect their users via an innovative, passwordless authentication flow without the UX compromises that burden traditional OAuth implementations. | ||
|
||
[Documentation](https://magic.link/docs/login-methods/email/integration/unity) | ||
|
||
## ⚠️ Removal of `LoginWithMagicLink()` ⚠️ | ||
As of `v2.0.0`, passcodes (ie. `LoginWithSMS()`, `LoginWithEmailOTP()`) are replacing Magic Links (ie. `LoginWithMagicLink()`) for all of our Mobile SDKs. [Learn more](https://magic.link/docs/auth/login-methods/email/email-link-update-march-2023) | ||
|
||
|
||
## Supported Platform | ||
It's recommended to apply this plugin in Unity 2021.3.3f1 or newer. Developers may build 2d Unity mobile Apps both in iOS and Android. | ||
|
||
|
@@ -38,7 +42,7 @@ public class MagicUnity : MonoBehaviour | |
### User Authentication | ||
|
||
```c# | ||
await magic.Auth.LoginWithMagicLink("[email protected]"); | ||
await magic.Auth.LoginWithEmailOtp("[email protected]"); | ||
``` | ||
|
||
### Web3 interaction | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters