File tree 6 files changed +5
-9
lines changed
6 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
Yii Framework 2 authclient extension Change Log
2
2
===============================================
3
3
4
- 2.2.16 under development
5
- ------------------------
4
+ 2.2.16 May 10, 2024
5
+ -------------------
6
6
7
7
- Enh #387 : Use appropriate exception if client does not exist (eluhr)
8
8
- Enh #388 : Added support to configure the OAuth2 access token location in requests and added a generic OAuth2 client (rhertogh)
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ abstract class OAuth2 extends BaseOAuth
43
43
* @since 2.2.16
44
44
*/
45
45
const ACCESS_TOKEN_LOCATION_HEADER = 'header ' ;
46
-
47
46
/**
48
47
* Apply the access token to the request body
49
48
* @since 2.2.16
@@ -83,17 +82,17 @@ abstract class OAuth2 extends BaseOAuth
83
82
* @see https://oauth.net/2/pkce/
84
83
*/
85
84
public $ enablePkce = false ;
86
-
87
85
/**
88
86
* @var string The location of the access token when it is applied to the request.
89
87
* NOTE: According to the OAuth2 specification this should be `header` by default,
90
- * however, for backwards compatibility the default value used here is `body`.
88
+ * however, for backwards compatibility the default value used here is `body`.
91
89
* @since 2.2.16
92
90
*
93
91
* @see https://datatracker.ietf.org/doc/html/rfc6749#section-7
94
92
*/
95
93
public $ accessTokenLocation = self ::ACCESS_TOKEN_LOCATION_BODY ;
96
94
95
+
97
96
/**
98
97
* Composes user authorization URL.
99
98
* @param array $params additional auth GET params.
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ class OpenIdConnect extends OAuth2
80
80
* {@inheritdoc}
81
81
*/
82
82
public $ accessTokenLocation = OAuth2::ACCESS_TOKEN_LOCATION_HEADER ;
83
-
84
83
/**
85
84
* @var array Predefined OpenID Connect Claims
86
85
* @see https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.2
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ class GitHub extends OAuth2
44
44
* {@inheritdoc}
45
45
*/
46
46
public $ accessTokenLocation = OAuth2::ACCESS_TOKEN_LOCATION_HEADER ;
47
-
48
47
/**
49
48
* {@inheritdoc}
50
49
*/
Original file line number Diff line number Diff line change 39
39
*/
40
40
class Oauth2Client extends OAuth2
41
41
{
42
-
43
42
/**
44
43
* {@inheritdoc}
45
44
*/
46
45
public $ accessTokenLocation = self ::ACCESS_TOKEN_LOCATION_HEADER ;
47
46
47
+
48
48
/**
49
49
* {@inheritdoc}
50
50
*/
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ class TwitterOAuth2 extends OAuth2
31
31
* {@inheritdoc}
32
32
*/
33
33
public $ accessTokenLocation = OAuth2::ACCESS_TOKEN_LOCATION_HEADER ;
34
-
35
34
/**
36
35
* {@inheritdoc}
37
36
*/
You can’t perform that action at this time.
0 commit comments