forked from salesagility/SuiteCRM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deprecated.php
60 lines (55 loc) · 1.85 KB
/
deprecated.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* Backwards compatibility for OneLogin\Saml2
*/
$saml2_class_names = [
'Auth',
'AuthnRequest',
'Constants',
'Error',
'ValidationError',
'IdPMetadataParser',
'LogoutRequest',
'LogoutResponse',
'Metadata',
'Response',
'Settings',
'Utils',
];
foreach ($saml2_class_names as $name) {
class_alias("OneLogin\\Saml2\\" . $name, 'OneLogin_Saml2_' . $name);
}
if (!class_exists(OneLogin_Saml2_Auth::class)) {
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Auth {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_AuthnRequest {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Constants {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Error {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_ValidationError {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_IdPMetadataParser {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_LogoutRequest {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_LogoutResponse {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Metadata {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Response {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Settings {}
/** @deprecated this is an alias for OneLogin\\Saml2 */
class OneLogin_Saml2_Utils {}
}
/**
* Backwards compatibility for Zend
*/
class_alias('SuiteCRM\\Zend_Oauth_Provider', 'Zend\\Oauth\\Provider');
if (!class_exists(Provider::class)) {
/** @deprecated this is an alias for Zend_Oauth_Provider */
class Provider {}
}