function MiniOrangeAcs::get_status_message in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
File
- includes/
Acs.php, line 138
Class
- MiniOrangeAcs
- The MiniOrangeAcs class.
Code
function get_status_message($statusCode) {
switch ($statusCode) {
case 'RequestDenied':
return 'You are not allowed to login into the site. Please contact your Administrator.';
break;
case 'Requester':
return 'The request could not be performed due to an error on the part of the requester.';
break;
case 'Responder':
return 'The request could not be performed due to an error on the part of the SAML responder or SAML authority.';
break;
case 'VersionMismatch':
return 'The SAML responder could not process the request because the version of the request message was incorrect.';
break;
default:
return 'Unknown';
}
}