public function getMetaInfo()
{
if ($this->getAuthenticationDetails() instanceof AuthenticationDetails) {
$authId = $this->getAuthenticationDetails()->getAuthId();
$authMethod = $this->getAuthenticationDetails()->getAuthMethod();
$authRole = $this->getAuthenticationDetails()->getAuthRole();
$authRoles = $this->getAuthenticationDetails()->getAuthRoles();
} else {
$authId = "anonymous";
$authMethod = "anonymous";
$authRole = "anonymous";
$authRoles = [];
}
return ["realm" => $this->getRealm()->getRealmName(), "authprovider" => null, "authid" => $authId, "authrole" => $authRole, "authroles" => $authRoles, "authmethod" => $authMethod, "session" => $this->getSessionId(), "role_features" => $this->getRoleFeatures()];
}