Created
September 21, 2022 15:29
-
-
Save Koleok/1cb213eeaaa66c46f0bf68725cb8fcd9 to your computer and use it in GitHub Desktop.
Auth Machine&
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
Auth Machine& | |
Heir Token | |
JWT Valid | |
jwtExpires -> JWT Invalid | |
logout -> JWT Invalid | |
magicSessionExpires -> JWT Valid | |
JWT Invalid | |
login -> JWT Valid | |
Magic Token | |
Session Valid | |
magicSessionExpires -> Session Invalid | |
jwtExpires -> Session Valid | |
logout -> Session Invalid | |
Session Invalid | |
login -> Session Valid | |
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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment