Created
September 20, 2023 05:01
-
-
Save YonatanKra/5b21c668dc8725127320c3cea47a6c27 to your computer and use it in GitHub Desktop.
Tauri-demo: add login to authMock
This file contains hidden or 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
class MockAuth extends HTMLElement { | |
constructor() { | |
super(); | |
authComponent = this; | |
} | |
isLoggedIn?() { | |
return isLoggedIn; | |
} | |
login(_email: string, _password: string) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment