5 // Miguel de Icaza (miguel@xamarin.com)
7 // Copyright 2014 Xamarin Inc
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 namespace System.Security.Claims {
32 public static class ClaimValueTypes {
33 public const string Base64Binary = "http://www.w3.org/2001/XMLSchema#base64Binary";
34 public const string Base64Octet = "http://www.w3.org/2001/XMLSchema#base64Octet";
35 public const string Boolean = "http://www.w3.org/2001/XMLSchema#boolean";
36 public const string Date = "http://www.w3.org/2001/XMLSchema#date";
37 public const string DateTime = "http://www.w3.org/2001/XMLSchema#dateTime";
38 public const string DaytimeDuration = "http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration";
39 public const string DnsName = "http://schemas.xmlsoap.org/claims/dns";
40 public const string Double = "http://www.w3.org/2001/XMLSchema#double";
41 public const string DsaKeyValue = "http://www.w3.org/2000/09/xmldsig#DSAKeyValue";
42 public const string Email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress";
43 public const string Fqbn = "http://www.w3.org/2001/XMLSchema#fqbn";
44 public const string HexBinary = "http://www.w3.org/2001/XMLSchema#hexBinary";
45 public const string Integer = "http://www.w3.org/2001/XMLSchema#integer";
46 public const string Integer32 = "http://www.w3.org/2001/XMLSchema#integer32";
47 public const string Integer64 = "http://www.w3.org/2001/XMLSchema#integer64";
48 public const string KeyInfo = "http://www.w3.org/2000/09/xmldsig#KeyInfo";
49 public const string Rfc822Name = "urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name";
50 public const string Rsa = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa";
51 public const string RsaKeyValue = "http://www.w3.org/2000/09/xmldsig#RSAKeyValue";
52 public const string Sid = "http://www.w3.org/2001/XMLSchema#sid";
53 public const string String = "http://www.w3.org/2001/XMLSchema#string";
54 public const string Time = "http://www.w3.org/2001/XMLSchema#time";
55 public const string UInteger32 = "http://www.w3.org/2001/XMLSchema#uinteger32";
56 public const string UInteger64 = "http://www.w3.org/2001/XMLSchema#uinteger64";
57 public const string UpnName = "http://schemas.xmlsoap.org/claims/UPN";
58 public const string X500Name = "urn:oasis:names:tc:xacml:1.0:data-type:x500Name";
59 public const string YearMonthDuration = "http://www.w3.org/TR/2002/WD-xquery-operators-20020816#yearMonthDuration";