Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docu update #1

Merged
merged 1 commit into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README-DEV.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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:
Expand All @@ -46,7 +46,7 @@ security:
entity:
class: App\Entity\User
property: email

auth:
pattern: ^/api/auth/
stateless: true
Expand All @@ -57,7 +57,7 @@ security:
failure_handler: AnzuSystems\AuthBundle\Security\AuthenticationFailureHandler
logout:
path: auth_logout

access_control:
- { path: ^/api/auth/, roles: PUBLIC_ACCESS }
```
Expand Down
1 change: 0 additions & 1 deletion bin/bash
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 0 additions & 1 deletion bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 0 additions & 1 deletion bin/ecs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion bin/psalm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down