Checks if this session is authenticated, or not. Returns: bool: Is this session authenticated?
()
| 125 | |
| 126 | |
| 127 | def is_mfa_session_authenticated() -> bool: |
| 128 | """ |
| 129 | Checks if this session is authenticated, or not. |
| 130 | |
| 131 | Returns: |
| 132 | bool: Is this session authenticated? |
| 133 | """ |
| 134 | return session.get('mfa_authenticated', False) is True |
| 135 | |
| 136 | |
| 137 | def mfa_enabled(execute_if_enabled, execute_if_disabled) -> None: |
no test coverage detected