Skip to content

Commit b776758

Browse files
author
Evan Sims
authored
Release 8.6.0 (#715)
1 parent 433d708 commit b776758

File tree

4 files changed

+20
-23
lines changed

4 files changed

+20
-23
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ body:
3434
label: SDK Version
3535
description: What version of our SDK are you running? (`composer show | grep auth0/auth0-php`)
3636
options:
37+
- 8.6
3738
- 8.5
3839
- 8.4
3940
- 8.3

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [8.6.0](https://github.com/auth0/auth0-PHP/tree/8.6.0) - 2023-05-02
4+
5+
**Added**
6+
7+
- **[PAR (Pushed Authorization Request)](https://www.rfc-editor.org/rfc/rfc6749) support¹** ([#714](https://github.com/auth0/auth0-PHP/pull/714)):
8+
- `Auth0\SDK\API\Authentication\PushedAuthorizationRequest` is a new class for issuing Pushed Authorization Requests and producing authorization links for them.
9+
- `Auth0\SDK\API\Authentication::pushedAuthorizationRequest()` has been added as a shortcut method for returning a configured instantiation of the above class.
10+
- `Auth0\SDK\Auth0::login()` has been updated to support issuing Pushed Authorization Requests and returning authorization links for them.
11+
- `Auth0\SDK\Configuration\SdkConfiguration` has been updated to accept a `pushedAuthorizationRequest` boolean to enable this feature.
12+
- `Auth0\SDK\Auth0::isAuthenticated()` has been added as a shortcut method. It is an alias for `getCredentials() !== null`.
13+
14+
¹ **Note:** To use this feature, an Auth0 tenant must have support for it enabled. This feature is not yet available to all tenants.
415

516
## [8.5.0](https://github.com/auth0/auth0-PHP/tree/8.5.0) - 2023-03-27
617

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
{
22
"name": "auth0-samples/pushed-authorization-request",
33
"description": "Example of using Pushed Authorization Requests with Auth0 PHP",
4-
"repositories": [
5-
{
6-
"type": "path",
7-
"url": "vendor/auth0/auth0-php",
8-
"options": {
9-
"symlink": true
10-
}
11-
}
12-
],
134
"require": {
145
"php": "^8.0",
15-
"auth0/auth0-php": "@dev",
6+
"auth0/auth0-php": "^8.6",
167
"nyholm/psr7": "^1.5",
178
"symfony/http-client": "^6.2"
189
},
@@ -27,20 +18,14 @@
2718
}
2819
},
2920
"scripts": {
30-
"start": [
31-
"chmod +x setup.sh",
32-
"bash setup.sh",
21+
"serve": [
3322
"php -S 127.0.0.1:3000 src/index.php"
3423
],
35-
"pre-update-cmd": [
36-
"@symlink-package",
24+
"pre-install-cmd": [
3725
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
3826
],
39-
"symlink-package": [
40-
"mkdir -p vendor/auth0",
41-
"rm -rf vendor/auth0/auth0-php",
42-
"ln -s ./../../../../../../ vendor/auth0/auth0-php"
43-
],
44-
"pre-install-cmd": "@symlink-package"
27+
"pre-update-cmd": [
28+
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
29+
]
4530
}
4631
}

src/Auth0.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class Auth0 implements Auth0Interface
2121
/**
2222
* @var string
2323
*/
24-
public const VERSION = '8.5.0';
24+
public const VERSION = '8.6.0';
2525

2626
/**
2727
* Authentication Client.

0 commit comments

Comments
 (0)