Skip to content

Commit 2d96959

Browse files
committed
code reformat
1 parent 4d9fb03 commit 2d96959

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ sudo apt install csas-authorize
2020
```
2121

2222
## Usage
23+
2324
1. Register your application at [CSAS Developer Portal](https://developers.csas.cz/)
2425
2. Create new application and get your `client_id` and `client_secret`
2526
3. Open in browser `csas-authorize` and fill in your `client_id` and `client_secret`
2627
4. Open your browser and authorize your application
2728

28-
2929
!['Apps'](apps-screenshot.png?raw=true)
3030
Main screen with list of your applications registered at CSAS Developer Portal
3131

32-
3332
![App](app-screenshot.png?raw=true)
3433
One application can have multiple tokens
3534

@@ -46,7 +45,7 @@ Options:
4645
--output, -o The output file (optional)
4746
--environment, -e The environment file with DB_* fields (optional)
4847
--list, -l List available tokens (optional)
49-
--json, -j Export token data in JSON format (optional)
48+
--json, -j Export token data or token list in JSON format (optional)
5049
--accesTokenKey, -a Specify custom Access Token key instead of CSAS_ACCESS_TOKEN
5150
--sandboxModeKey, -s Specify custom SandBox Mode key instead of CSAS_SANDBOX_MODE
5251

@@ -57,13 +56,15 @@ Example:
5756
# Export token data in JSON format
5857
php csas-access-token -t71004963-e3d4-471f-96fc-1aef79d17ec1 --json
5958

59+
# List all tokens in plain text format
60+
php csas-access-token --list
61+
6062
# List all tokens in JSON format
6163
php csas-access-token --list --json
6264
```
6365

6466
If there is no output file specified, the access token is printed to the standard output. Use the `--json` option to export token data or the token list in JSON format.
6567

66-
6768
## Development
6869

6970
We use two SQL tables to store data. For production we use MariaDB and for development we use SQLite.

src/SpojeNet/CSas/Ui/EngineForm.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class EngineForm extends Form
2626
* Formulář Bootstrapu.
2727
*
2828
* @param \Ease\SQL\Engine $engine jméno formuláře
29-
* @param mixed $formContents prvky uvnitř formuláře
30-
* @param array $tagProperties vlastnosti tagu například:
31-
* array('enctype' => 'multipart/form-data')
29+
* @param mixed $formContents prvky uvnitř formuláře
30+
* @param array $tagProperties vlastnosti tagu například:
31+
* array('enctype' => 'multipart/form-data')
3232
*/
3333
public function __construct($engine, $formContents = null, $tagProperties = [])
3434
{

src/SpojeNet/CSas/Ui/MainMenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function navBarToggler()
4949
}
5050

5151
/**
52-
* Summary of navBarCollapse
52+
* Summary of navBarCollapse.
5353
*
5454
* @return \Ease\Html\DivTag
5555
*/

0 commit comments

Comments
 (0)