Definition at line 11 of file ErrorCodes.php.
◆ defaultGetAllErrorCodeDescriptions()
static SimpleSAML\Error\ErrorCodes::defaultGetAllErrorCodeDescriptions |
( |
| ) |
|
|
staticfinal |
Fetch all default translation strings for error code descriptions.
- Returns
- string A map from error code to error code description
Definition at line 76 of file ErrorCodes.php.
References array.
79 'ACSPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_ACSPARAMS}'),
80 'ARSPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_ARSPARAMS}'),
81 'AUTHSOURCEERROR' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_AUTHSOURCEERROR}'),
82 'BADREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_BADREQUEST}'),
83 'CASERROR' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_CASERROR}'),
84 'CONFIG' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_CONFIG}'),
85 'CREATEREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_CREATEREQUEST}'),
86 'DISCOPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_DISCOPARAMS}'),
87 'GENERATEAUTHNRESPONSE' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_GENERATEAUTHNRESPONSE}'),
88 'INVALIDCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_INVALIDCERT}'),
89 'LDAPERROR' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_LDAPERROR}'),
90 'LOGOUTINFOLOST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_LOGOUTINFOLOST}'),
91 'LOGOUTREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_LOGOUTREQUEST}'),
92 'MEMCACHEDOWN' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_MEMCACHEDOWN}'),
93 'METADATA' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_METADATA}'),
94 'METADATANOTFOUND' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_METADATANOTFOUND}'),
95 'NOACCESS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOACCESS}'),
96 'NOCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOCERT}'),
97 'NORELAYSTATE' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NORELAYSTATE}'),
98 'NOSTATE' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOSTATE}'),
99 'NOTFOUND' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOTFOUND}'),
100 'NOTFOUNDREASON' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOTFOUNDREASON}'),
101 'NOTSET' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOTSET}'),
102 'NOTVALIDCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_NOTVALIDCERT}'),
103 'PROCESSASSERTION' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_PROCESSASSERTION}'),
104 'PROCESSAUTHNREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_PROCESSAUTHNREQUEST}'),
105 'RESPONSESTATUSNOSUCCESS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_RESPONSESTATUSNOSUCCESS}'),
106 'SLOSERVICEPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_SLOSERVICEPARAMS}'),
107 'SSOPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_SSOPARAMS}'),
108 'UNHANDLEDEXCEPTION' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_UNHANDLEDEXCEPTION}'),
109 'UNKNOWNCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_UNKNOWNCERT}'),
110 'USERABORTED' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_USERABORTED}'),
111 'WRONGUSERPASS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:descr_WRONGUSERPASS}'),
Attribute-related utility methods.
Create styles array
The data for the language used.
◆ defaultGetAllErrorCodeTitles()
static SimpleSAML\Error\ErrorCodes::defaultGetAllErrorCodeTitles |
( |
| ) |
|
|
staticfinal |
Fetch all default translation strings for error code titles.
- Returns
- array A map from error code to error code title
Definition at line 18 of file ErrorCodes.php.
References array.
21 'ACSPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_ACSPARAMS}'),
22 'ARSPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_ARSPARAMS}'),
23 'AUTHSOURCEERROR' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_AUTHSOURCEERROR}'),
24 'BADREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_BADREQUEST}'),
25 'CASERROR' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_CASERROR}'),
26 'CONFIG' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_CONFIG}'),
27 'CREATEREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_CREATEREQUEST}'),
28 'DISCOPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_DISCOPARAMS}'),
29 'GENERATEAUTHNRESPONSE' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_GENERATEAUTHNRESPONSE}'),
30 'INVALIDCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_INVALIDCERT}'),
31 'LDAPERROR' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_LDAPERROR}'),
32 'LOGOUTINFOLOST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_LOGOUTINFOLOST}'),
33 'LOGOUTREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_LOGOUTREQUEST}'),
34 'MEMCACHEDOWN' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_MEMCACHEDOWN}'),
35 'METADATA' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_METADATA}'),
36 'METADATANOTFOUND' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_METADATANOTFOUND}'),
37 'NOACCESS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOACCESS}'),
38 'NOCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOCERT}'),
39 'NORELAYSTATE' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NORELAYSTATE}'),
40 'NOSTATE' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOSTATE}'),
41 'NOTFOUND' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOTFOUND}'),
42 'NOTFOUNDREASON' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOTFOUNDREASON}'),
43 'NOTSET' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOTSET}'),
44 'NOTVALIDCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_NOTVALIDCERT}'),
45 'PROCESSASSERTION' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_PROCESSASSERTION}'),
46 'PROCESSAUTHNREQUEST' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_PROCESSAUTHNREQUEST}'),
47 'RESPONSESTATUSNOSUCCESS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_RESPONSESTATUSNOSUCCESS}'),
48 'SLOSERVICEPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_SLOSERVICEPARAMS}'),
49 'SSOPARAMS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_SSOPARAMS}'),
50 'UNHANDLEDEXCEPTION' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_UNHANDLEDEXCEPTION}'),
51 'UNKNOWNCERT' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_UNKNOWNCERT}'),
52 'USERABORTED' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_USERABORTED}'),
53 'WRONGUSERPASS' => \
SimpleSAML\Locale\Translate::noop(
'{errors:title_WRONGUSERPASS}'),
Attribute-related utility methods.
Create styles array
The data for the language used.
◆ getAllErrorCodeDescriptions()
static SimpleSAML\Error\ErrorCodes::getAllErrorCodeDescriptions |
( |
| ) |
|
|
static |
Fetch all translation strings for error code descriptions.
Extend this to add error codes.
- Returns
- string A map from error code to error code description
Definition at line 122 of file ErrorCodes.php.
124 return self::defaultGetAllErrorCodeDescriptions();
◆ getAllErrorCodeMessages()
static SimpleSAML\Error\ErrorCodes::getAllErrorCodeMessages |
( |
| ) |
|
|
static |
Get a map of both errorcode titles and descriptions.
Convenience-method for template-callers
- Returns
- array An array containing both errorcode maps.
Definition at line 135 of file ErrorCodes.php.
References array.
Referenced by sspmod_authX509_Auth_Source_X509userCert\authFailed().
138 'title' => self::getAllErrorCodeTitles(),
139 'descr' => self::getAllErrorCodeDescriptions(),
Create styles array
The data for the language used.
◆ getAllErrorCodeTitles()
static SimpleSAML\Error\ErrorCodes::getAllErrorCodeTitles |
( |
| ) |
|
|
static |
Fetch all translation strings for error code titles.
Extend this to add error codes.
- Returns
- array A map from error code to error code title
Definition at line 65 of file ErrorCodes.php.
67 return self::defaultGetAllErrorCodeTitles();
◆ getErrorCodeDescription()
static SimpleSAML\Error\ErrorCodes::getErrorCodeDescription |
( |
|
$errorCode | ) |
|
|
static |
Fetch a translation string for a description for a given error code.
- Parameters
-
string | $errorCode | The error code to look up |
- Returns
- string A string to translate
Definition at line 165 of file ErrorCodes.php.
References $errorCode.
Referenced by SimpleSAML_Error_Error\__construct().
167 $errorCodeDescriptions = self::getAllErrorCodeDescriptions();
◆ getErrorCodeMessage()
static SimpleSAML\Error\ErrorCodes::getErrorCodeMessage |
( |
|
$errorCode | ) |
|
|
static |
Get both title and description for a specific error code.
Convenience-method for template-callers
- Parameters
-
string | $errorCode | The error code to look up |
- Returns
- array An array containing both errorcode strings.
Definition at line 181 of file ErrorCodes.php.
References $errorCode, and array.
184 'title' => self::getErrorCodeTitle(
$errorCode),
185 'descr' => self::getErrorCodeDescription(
$errorCode),
Create styles array
The data for the language used.
◆ getErrorCodeTitle()
static SimpleSAML\Error\ErrorCodes::getErrorCodeTitle |
( |
|
$errorCode | ) |
|
|
static |
Fetch a translation string for a title for a given error code.
- Parameters
-
string | $errorCode | The error code to look up |
- Returns
- string A string to translate
Definition at line 151 of file ErrorCodes.php.
References $errorCode.
Referenced by SimpleSAML_Error_Error\__construct().
153 $errorCodeTitles = self::getAllErrorCodeTitles();
The documentation for this class was generated from the following file:
- libs/composer/vendor/simplesamlphp/simplesamlphp/lib/SimpleSAML/Error/ErrorCodes.php