private function realmHasAuthProvider($realmName)
    {
        foreach ($this->authMethods as $authMethod) {
            foreach ($authMethod['auth_realms'] as $authRealm) {
                if ($authRealm === "*" || $authRealm === $realmName) {
                    return true;
                }
            }
        }

        return false;
    }
private function realmHasAuthProvider($realmName)
    {
        foreach ($this->authMethods as $authMethod) {
            foreach ($authMethod['auth_realms'] as $authRealm) {
                if ($authRealm === "*" || $authRealm === $realmName) {
                    return true;
                }
            }
        }

        return false;
    }
private function realmHasAuthProvider ( $ realmName ) { foreach ( $ this -> authMethods as $ authMethod ) { foreach ( $ authMethod [ 'auth_realms' ] as $ authRealm ) { if ( $ authRealm === "*" || $ authRealm === $ realmName ) { return true ; } } } return false ; }
Checks to see if a realm has a registered auth provider

@param string $realmName
@return boolean
Checks to see if a realm has a registered auth provider