public function Auth0::getUser in Auth0 Single Sign On 8.2
Get userinfo from persisted session or from a code exchange
Return value
array|null
Throws
ApiException (see self::exchange()).
CoreException (see self::exchange()).
File
- vendor/
auth0/ auth0-php/ src/ Auth0.php, line 477
Class
- Auth0
- Class Auth0 Provides access to Auth0 authentication functionality.
Namespace
Auth0\SDKCode
public function getUser() {
if (!$this->user) {
$this
->exchange();
}
return $this->user;
}