-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.php
More file actions
35 lines (28 loc) · 842 Bytes
/
Constants.php
File metadata and controls
35 lines (28 loc) · 842 Bytes
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
<?php
declare(strict_types=1);
namespace SimpleSAML\WebServices\Security;
/**
* Class holding constants relevant for WS-Security.
*
* @package simplesamlphp/xml-wss-core
*/
class Constants extends \SimpleSAML\XML\Constants
{
/**
* The namespace for WS-Security extensions.
*/
public const string NS_SEC_EXT =
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd';
/**
* The namespace for WS-Security utilities protocol.
*/
public const string NS_SEC_UTIL =
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd';
/**
*/
public const string WSU_TIMESTAMP_FAULT = 'MessageExpired';
/**
* The format to express a timestamp in WSU
*/
public const string DATETIME_FORMAT = 'Y-m-d\\TH:i:sp';
}