You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tool will then migrate as much of the data in the identity file as it can into a new SimpleID 2 user file, which is displayed.
58
77
59
78
Note that in most cases, the password stored in a SimpleID 1 identity file will *not* meet the password requirements for SimpleID 2. In these cases you will need to re-encode your password (e.g. via [simpleid-tool](#passwd)) insert it into the new user file.
79
+
80
+
## Calling SimpleID API endpoints {#api}
81
+
`simpleid-tool` can be used to call endpoints made available by the SimpleID API. This can be invoked using the following command:
82
+
83
+
```shell
84
+
php simpleid-tool.phar api -d [simpleid-dir] -- [route] [params ...]
85
+
```
86
+
87
+
`[simpleid-dir]` should be replaced with the location of the `www` directory of the SimpleID installation (i.e where `index.php` is located.
88
+
89
+
The `[route]` and `[params]` parameters should be replaced with the API endpoint and GET parameters, using the syntax set out in [Fat-Free Framework documentation](https://fatfreeframework.com/3.9/routing-engine#RoutinginCLImode). If you are using the shell syntax, note that you will need to add a `--` before specifying the endpoint parameters, so that those parameters are not interpreted by `simpleid-tool`.
0 commit comments