From 30d15768c4b01482c426a5a6bfd69bb88346c99f Mon Sep 17 00:00:00 2001 From: Lubomir Stanko Date: Wed, 14 Dec 2022 10:22:05 +0100 Subject: [PATCH] Docu update --- .github/workflows/php.yml | 2 +- README-DEV.md | 2 +- README.md | 8 ++++---- bin/bash | 1 - bin/build | 1 - bin/ecs | 1 - bin/psalm | 1 - 7 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a1c725e..7043730 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,4 +1,4 @@ -name: AnzuSystems Auth Bundle by Petitpress.sk CI +name: CI for AnzuSystems Auth Bundle by Petit Press a.s. (www.sme.sk) on: pull_request: diff --git a/README-DEV.md b/README-DEV.md index c31feea..3a768c2 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -1,4 +1,4 @@ -Development on AnzuSystems Auth Bundle by Petitpress.sk +Development on AnzuSystems Auth Bundle by Petit Press a.s. (www.sme.sk) ===== Simple guide on how to develop on the project, run tests, etc. diff --git a/README.md b/README.md index 448f3b7..8962115 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -AnzuSystems Auth Bundle by Petitpress.sk +AnzuSystems Auth Bundle by Petit Press a.s. (www.sme.sk) ===== Provides authorization functionality among Anzusystems' projects. @@ -23,7 +23,7 @@ anzu_systems_auth: secure: false # use true for PROD environment! jwt: audience: anz - algorithm: ES256 # enum (ES256|RS256), default "ES256" + algorithm: ES256 # enum (ES256|RS256), default "ES256" public_cert: '%env(base64:AUTH_JWT_PUBLIC_CERT)%' # string representation of a public certificate private_cert: '%env(base64:AUTH_JWT_PRIVATE_CERT)%' # string representation of a private certificate authorization: @@ -46,7 +46,7 @@ security: entity: class: App\Entity\User property: email - + auth: pattern: ^/api/auth/ stateless: true @@ -57,7 +57,7 @@ security: failure_handler: AnzuSystems\AuthBundle\Security\AuthenticationFailureHandler logout: path: auth_logout - + access_control: - { path: ^/api/auth/, roles: PUBLIC_ACCESS } ``` diff --git a/bin/bash b/bin/bash index ab58bcd..2bfd3cd 100755 --- a/bin/bash +++ b/bin/bash @@ -4,7 +4,6 @@ PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)" USER_SWITCH="--user user" -# Initialize default variables and functions cd "${PROJECT_ROOT}" || exit 1 function help() { diff --git a/bin/build b/bin/build index a6ca600..8e15de9 100755 --- a/bin/build +++ b/bin/build @@ -5,7 +5,6 @@ PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)" ARGS="$*" CACHE_CLEAR=true -# Initialize default variables and functions cd "${PROJECT_ROOT}" || exit 1 function help() { diff --git a/bin/ecs b/bin/ecs index 67701b2..7aa1d12 100755 --- a/bin/ecs +++ b/bin/ecs @@ -4,7 +4,6 @@ PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)" CHECK_DIR=${1:-src} -# Initialize default variables and functions cd "${PROJECT_ROOT}" || exit 1 if [ -f /.dockerenv ]; then diff --git a/bin/psalm b/bin/psalm index 7d1c033..581ffc2 100755 --- a/bin/psalm +++ b/bin/psalm @@ -4,7 +4,6 @@ PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)" CHECK_DIR=${1:-src} -# Initialize default variables and functions cd "${PROJECT_ROOT}" || exit 1 if [ -f /.dockerenv ]; then