(array $tokens)
| 798 | } |
| 799 | |
| 800 | protected static function saveRememberTokenStore(array $tokens): void |
| 801 | { |
| 802 | $tokFile = USERS_DIR . 'persistent_tokens.json'; |
| 803 | file_put_contents( |
| 804 | $tokFile, |
| 805 | encryptData(json_encode($tokens, JSON_PRETTY_PRINT), $GLOBALS['encryptionKey']), |
| 806 | LOCK_EX |
| 807 | ); |
| 808 | } |
| 809 | |
| 810 | /** |
| 811 | * Given OIDC claims, derive a FileRise username and optionally auto-create it. |
no test coverage detected