Skip to content

Commit

Permalink
Update the policer config
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed May 24, 2023
1 parent eefabe7 commit f0acecf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"require": {
"php": "^8.1",
"bowphp/framework": "^5.0",
"bowphp/meta-manager": "^1.0",
"bowphp/policier": "^2.1"
"bowphp/policier": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
Expand Down
7 changes: 7 additions & 0 deletions config/policier.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
*/
"iss" => app_env("APP_JWT_ISSUER", "app.example.com"),

/**
* Hashing algorithm being used
*
* HS256, HS384, HS512, ES256, ES384, ES512
*/
"alg" => "HS512",

/**
* Configures the audience
*/
Expand Down

0 comments on commit f0acecf

Please sign in to comment.