Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Claims / ClaimTypes.cs / 1305376 / ClaimTypes.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.IdentityModel.Claims
{
public static class ClaimTypes
{
const string claimTypeNamespace = XsiConstants.Namespace + "/claims";
const string anonymous = claimTypeNamespace + "/anonymous";
const string dns = claimTypeNamespace + "/dns";
const string email = claimTypeNamespace + "/emailaddress";
const string hash = claimTypeNamespace + "/hash";
const string name = claimTypeNamespace + "/name";
const string rsa = claimTypeNamespace + "/rsa";
const string sid = claimTypeNamespace + "/sid";
const string denyOnlySid = claimTypeNamespace + "/denyonlysid";
const string spn = claimTypeNamespace + "/spn";
const string system = claimTypeNamespace + "/system";
const string thumbprint = claimTypeNamespace + "/thumbprint";
const string upn = claimTypeNamespace + "/upn";
const string uri = claimTypeNamespace + "/uri";
const string x500DistinguishedName = claimTypeNamespace + "/x500distinguishedname";
const string givenname = claimTypeNamespace +"/givenname";
const string surname = claimTypeNamespace + "/surname";
const string streetaddress = claimTypeNamespace + "/streetaddress";
const string locality = claimTypeNamespace + "/locality";
const string stateorprovince = claimTypeNamespace + "/stateorprovince";
const string postalcode = claimTypeNamespace + "/postalcode";
const string ---- = claimTypeNamespace + "/----";
const string homephone = claimTypeNamespace + "/homephone";
const string otherphone = claimTypeNamespace + "/otherphone";
const string mobilephone = claimTypeNamespace + "/mobilephone";
const string dateofbirth = claimTypeNamespace + "/dateofbirth";
const string gender = claimTypeNamespace + "/gender";
const string ppid = claimTypeNamespace + "/privatepersonalidentifier";
const string webpage = claimTypeNamespace + "/webpage";
const string nameidentifier = claimTypeNamespace + "/nameidentifier";
const string authentication = claimTypeNamespace + "/authentication";
const string authorizationdecision = claimTypeNamespace + "/authorizationdecision";
static public string Anonymous { get { return anonymous; } }
static public string DenyOnlySid { get { return denyOnlySid; } }
static public string Dns { get { return dns; } }
static public string Email { get { return email; } }
static public string Hash { get { return hash; } }
static public string Name { get { return name; } }
static public string Rsa { get { return rsa; } }
static public string Sid { get { return sid; } }
static public string Spn { get { return spn; } }
static public string System { get { return system; } }
static public string Thumbprint { get { return thumbprint; } }
static public string Upn { get { return upn; } }
static public string Uri { get { return uri; } }
static public string X500DistinguishedName { get { return x500DistinguishedName; } }
static public string NameIdentifier { get { return nameidentifier; } }
static public string Authentication { get { return authentication; } }
static public string AuthorizationDecision { get { return authorizationdecision; } }
// used in info card
static public string GivenName {get { return givenname; } }
static public string Surname { get { return surname; } }
static public string StreetAddress { get { return streetaddress; } }
static public string Locality { get { return locality; } }
static public string StateOrProvince { get { return stateorprovince; } }
static public string PostalCode { get { return postalcode; } }
static public string ---- { get { return ----; } }
static public string HomePhone { get { return homephone; } }
static public string OtherPhone { get { return otherphone; } }
static public string MobilePhone { get { return mobilephone; } }
static public string DateOfBirth { get { return dateofbirth; } }
static public string Gender { get { return gender; } }
static public string PPID { get { return ppid; } }
static public string Webpage { get { return webpage; } }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.IdentityModel.Claims
{
public static class ClaimTypes
{
const string claimTypeNamespace = XsiConstants.Namespace + "/claims";
const string anonymous = claimTypeNamespace + "/anonymous";
const string dns = claimTypeNamespace + "/dns";
const string email = claimTypeNamespace + "/emailaddress";
const string hash = claimTypeNamespace + "/hash";
const string name = claimTypeNamespace + "/name";
const string rsa = claimTypeNamespace + "/rsa";
const string sid = claimTypeNamespace + "/sid";
const string denyOnlySid = claimTypeNamespace + "/denyonlysid";
const string spn = claimTypeNamespace + "/spn";
const string system = claimTypeNamespace + "/system";
const string thumbprint = claimTypeNamespace + "/thumbprint";
const string upn = claimTypeNamespace + "/upn";
const string uri = claimTypeNamespace + "/uri";
const string x500DistinguishedName = claimTypeNamespace + "/x500distinguishedname";
const string givenname = claimTypeNamespace +"/givenname";
const string surname = claimTypeNamespace + "/surname";
const string streetaddress = claimTypeNamespace + "/streetaddress";
const string locality = claimTypeNamespace + "/locality";
const string stateorprovince = claimTypeNamespace + "/stateorprovince";
const string postalcode = claimTypeNamespace + "/postalcode";
const string ---- = claimTypeNamespace + "/----";
const string homephone = claimTypeNamespace + "/homephone";
const string otherphone = claimTypeNamespace + "/otherphone";
const string mobilephone = claimTypeNamespace + "/mobilephone";
const string dateofbirth = claimTypeNamespace + "/dateofbirth";
const string gender = claimTypeNamespace + "/gender";
const string ppid = claimTypeNamespace + "/privatepersonalidentifier";
const string webpage = claimTypeNamespace + "/webpage";
const string nameidentifier = claimTypeNamespace + "/nameidentifier";
const string authentication = claimTypeNamespace + "/authentication";
const string authorizationdecision = claimTypeNamespace + "/authorizationdecision";
static public string Anonymous { get { return anonymous; } }
static public string DenyOnlySid { get { return denyOnlySid; } }
static public string Dns { get { return dns; } }
static public string Email { get { return email; } }
static public string Hash { get { return hash; } }
static public string Name { get { return name; } }
static public string Rsa { get { return rsa; } }
static public string Sid { get { return sid; } }
static public string Spn { get { return spn; } }
static public string System { get { return system; } }
static public string Thumbprint { get { return thumbprint; } }
static public string Upn { get { return upn; } }
static public string Uri { get { return uri; } }
static public string X500DistinguishedName { get { return x500DistinguishedName; } }
static public string NameIdentifier { get { return nameidentifier; } }
static public string Authentication { get { return authentication; } }
static public string AuthorizationDecision { get { return authorizationdecision; } }
// used in info card
static public string GivenName {get { return givenname; } }
static public string Surname { get { return surname; } }
static public string StreetAddress { get { return streetaddress; } }
static public string Locality { get { return locality; } }
static public string StateOrProvince { get { return stateorprovince; } }
static public string PostalCode { get { return postalcode; } }
static public string ---- { get { return ----; } }
static public string HomePhone { get { return homephone; } }
static public string OtherPhone { get { return otherphone; } }
static public string MobilePhone { get { return mobilephone; } }
static public string DateOfBirth { get { return dateofbirth; } }
static public string Gender { get { return gender; } }
static public string PPID { get { return ppid; } }
static public string Webpage { get { return webpage; } }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MarkupCompilePass2.cs
- DataGridAddNewRow.cs
- TableRowCollection.cs
- SchemaElementDecl.cs
- GuidConverter.cs
- MultilineStringEditor.cs
- formatter.cs
- ContentFileHelper.cs
- TextAction.cs
- UIElementCollection.cs
- TextLineResult.cs
- StructuredTypeEmitter.cs
- unsafeIndexingFilterStream.cs
- CheckableControlBaseAdapter.cs
- RegionInfo.cs
- SignHashRequest.cs
- AssociatedControlConverter.cs
- FrameworkEventSource.cs
- GenerateHelper.cs
- GridViewColumnHeaderAutomationPeer.cs
- RuleSettingsCollection.cs
- PersonalizationStateInfo.cs
- DataGridViewTopLeftHeaderCell.cs
- Number.cs
- ColorAnimationBase.cs
- Int32Rect.cs
- Application.cs
- SeekStoryboard.cs
- RelationshipEnd.cs
- FixUpCollection.cs
- SourceInterpreter.cs
- XPathDocumentNavigator.cs
- SignerInfo.cs
- PartialCachingAttribute.cs
- CodeTypeReferenceCollection.cs
- CodeMemberProperty.cs
- HotCommands.cs
- WsdlBuildProvider.cs
- ParenthesizePropertyNameAttribute.cs
- BulletedListEventArgs.cs
- WebPartChrome.cs
- WindowsAltTab.cs
- SelectionRange.cs
- InheritanceService.cs
- ViewStateException.cs
- FormattedTextSymbols.cs
- NativeObjectSecurity.cs
- SafeNativeMethods.cs
- XPathDocumentNavigator.cs
- DrawListViewItemEventArgs.cs
- SocketStream.cs
- SequentialOutput.cs
- AffineTransform3D.cs
- UseAttributeSetsAction.cs
- StrongNameIdentityPermission.cs
- SettingsSection.cs
- DynamicPropertyHolder.cs
- Source.cs
- SerialErrors.cs
- TextTrailingWordEllipsis.cs
- CannotUnloadAppDomainException.cs
- DoubleLink.cs
- TextEditorTyping.cs
- InvalidAsynchronousStateException.cs
- DecoderExceptionFallback.cs
- UnsafeNativeMethods.cs
- Variant.cs
- WorkflowItemPresenter.cs
- TextViewSelectionProcessor.cs
- CleanUpVirtualizedItemEventArgs.cs
- RelationshipSet.cs
- FreezableCollection.cs
- HtmlMeta.cs
- BitmapData.cs
- ItemContainerGenerator.cs
- FontStyles.cs
- SecurityValidationBehavior.cs
- WindowsServiceElement.cs
- DataGridViewImageCell.cs
- FontFamily.cs
- NamedPipeAppDomainProtocolHandler.cs
- ProfileInfo.cs
- MemberRelationshipService.cs
- FixedTextBuilder.cs
- HtmlEmptyTagControlBuilder.cs
- FormattedText.cs
- GPRECTF.cs
- ClientApiGenerator.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- Lock.cs
- CallSiteBinder.cs
- DispatcherSynchronizationContext.cs
- HttpTransportElement.cs
- ExtensionDataReader.cs
- PlanCompiler.cs
- DragEvent.cs
- DataKey.cs
- ByteAnimationUsingKeyFrames.cs
- ReliableOutputSessionChannel.cs
- Propagator.cs