OneLogin_Saml2_Auth::getErrors PHP Method

getErrors() public method

Returns if there were any error
public getErrors ( ) : array
return array Errors
    public function getErrors()
    {
        return $this->_errors;
    }

Usage Example

 private function verificar_errores_onelogin(OneLogin_Saml2_Auth $auth)
 {
     $errors = $auth->getErrors();
     if (!empty($errors)) {
         toba::logger()->error('Errores en el proceso de onelogin: '******'Se produjo un error durante el procedimiento de login, contacte un administrador');
     }
 }
All Usage Examples Of OneLogin_Saml2_Auth::getErrors