We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e36d3e1 commit 6764f47Copy full SHA for 6764f47
README.md
@@ -77,7 +77,7 @@ Use the `getCredentials()` method to check if a user is authenticated.
77
// getCredentials() returns null if the user is not authenticated.
78
$session = $auth0->getCredentials();
79
80
-if (null === $session || $session->accessTokenExpired()) {
+if (null === $session || $session->accessTokenExpired) {
81
// Redirect to Auth0 to authenticate the user.
82
header('Location: ' . $auth0->login());
83
exit;
0 commit comments