Difference between revisions of "Action: Authenticate User"
Tag: Undo |
|||
Line 9: | Line 9: | ||
''''' Requires Root or [https://www.macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB hack] ''''' | ''''' Requires Root or [https://www.macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB hack] ''''' | ||
− | == | + | ==<p><b>Example</b></p>== |
− | + | ''''' When trying to access the notes application, it will require user authentication, if approved it will open the app, otherwise it will return to the home screen ''''' | |
− | + | <br> | |
− | |||
− | = | + | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;"> |
+ | Triggers | ||
− | + | Application Launched | Notes | |
+ | </pre><br> | ||
− | = | + | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> |
+ | Actions | ||
− | <pre style="background-color: # | + | Launch Home Screen |
− | + | Authenticate User | |
− | </pre | + | </pre> |
+ | |||
+ | <pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | If | CheckAuth = True | ||
+ | </pre> | ||
− | = | + | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> |
+ | Actions | ||
− | + | Launch Notes | |
− | |||
− | |||
</pre> | </pre> | ||
− | |||
− | |||
− | = | + | <pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;"> |
+ | Else | ||
+ | </pre> | ||
− | + | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> | |
− | <pre style="background-color: # | + | Actions |
− | + | ||
− | + | Launch Home Screen | |
+ | Popup message | Incorrect password | ||
</pre> | </pre> | ||
− | |||
− | |||
− | === | + | <pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;"> |
+ | End If | ||
+ | </pre><br> | ||
+ | |||
+ | <pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | Constraints | ||
+ | |||
+ | </pre><br> | ||
+ | <pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;"> | ||
+ | Local variables | ||
− | + | CheckAuth = True | |
− | + | </pre><br> | |
− | </pre><br |
Revision as of 20:23, 11 January 2024
About
This action can be used to request that the user authenticates their identity. This action will set a boolean variable to indicate success/failure and subsequent actions will be blocked until authentication completes.
Requires Root or ADB hack
Example
When trying to access the notes application, it will require user authentication, if approved it will open the app, otherwise it will return to the home screen
Triggers Application Launched | Notes
Actions Launch Home Screen Authenticate User
If | CheckAuth = True
Actions Launch Notes
Else
Actions Launch Home Screen Popup message | Incorrect password
End If
Constraints
Local variables CheckAuth = True