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

NotAuthorizedException addition #41

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
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
40 changes: 40 additions & 0 deletions .github/workflows/composer-7.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: PHP 7.4 Composer

on:
push:
branches: [ master ]

permissions:
actions: write
checks: write
contents: write
deployments: write
id-token: write
issues: write
discussions: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Add HTTP basic auth credentials
run: echo '${{ secrets.COMPOSER_AUTH_JSON_HTTP_BASIC }}' > $GITHUB_WORKSPACE/auth.json

- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: "7.4"
php_extensions: curl json mbstring
version: "2"

- name: Remove auth.json file
run: rm -f $GITHUB_WORKSPACE/auth.json
40 changes: 40 additions & 0 deletions .github/workflows/composer-8.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: PHP 8.1 Composer

on:
push:
branches: [ master ]

permissions:
actions: write
checks: write
contents: write
deployments: write
id-token: write
issues: write
discussions: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Add HTTP basic auth credentials
run: echo '${{ secrets.COMPOSER_AUTH_JSON_HTTP_BASIC }}' > $GITHUB_WORKSPACE/auth.json

- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: "8.1"
php_extensions: curl json mbstring
version: "2"

- name: Remove auth.json file
run: rm -f $GITHUB_WORKSPACE/auth.json
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,4 @@ Copyright
pmill/aws-cognito
Copyright (c) 2017 pmill ([email protected])
All rights reserved.

7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
],
"require": {
"aws/aws-sdk-php": "^3.26",
"web-token/jwt-signature": "^1.0"
"web-token/jwt-signature": "^2.0",
"web-token/jwt-signature-algorithm-rsa": "^2.2"
},
"autoload": {
"psr-4": {
Expand All @@ -21,7 +22,7 @@
}
},
"require-dev": {
"phpunit/phpunit": "^8.4",
"fzaninotto/faker": "^1.8"
"fakerphp/faker": "^1.20",
"phpunit/phpunit": "^8.0 || ^9.0"
}
}
Loading