Skip to content

Commit e3dcae4

Browse files
authored
[SDK-2552] Change method visibility of getState to public (#498)
* feat: Change method visibility of getState to public * tests: Run Snyk on master branch only * tests: Tweak CircleCI config
1 parent 978ee20 commit e3dcae4

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.circleci/config.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,18 @@ workflows:
8383
- php_7_3
8484
- php_7_4
8585
- php_8_0
86-
- snyk:
87-
# Must define SNYK_TOKEN env
88-
context: snyk-env
89-
requires:
90-
- php_7_3
9186
integration-tests:
9287
jobs:
9388
- php_7_integration_tests:
9489
filters:
9590
branches:
9691
only:
9792
- master
93+
- snyk:
94+
filters:
95+
branches:
96+
only:
97+
- master
98+
context: snyk-env
99+
requires:
100+
- php_7_integration_tests

src/Auth0.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ protected function getAuthorizationCode()
757757
*
758758
* @see https://auth0.com/docs/api-auth/tutorials/authorization-code-grant
759759
*/
760-
protected function getState()
760+
public function getState()
761761
{
762762
$state = null;
763763
if ($this->responseMode === 'query' && isset($_GET[self::TRANSIENT_STATE_KEY])) {

0 commit comments

Comments
 (0)