Auth0\JWTAuthBundle\Security\Auth0Service::getUserProfileByA0UID PHP Method

getUserProfileByA0UID() public method

Get the Auth0 User Profile based on the JWT (and validate it).
public getUserProfileByA0UID ( $jwt, $a0UID ) : Symfony\Component\Security\Core\User\User
return Symfony\Component\Security\Core\User\User info as described in https://docs.auth0.com/user-profile
    public function getUserProfileByA0UID($jwt, $a0UID)
    {
        $auth0Api = new Auth0Api($jwt, $this->domain);
        return $auth0Api->users->get($a0UID);
    }