3 types derived from ClaimsPrincipal
mscorlib (2)
system\security\principal\genericprincipal.cs (1)
28
public class GenericPrincipal :
ClaimsPrincipal
{
system\security\principal\windowsprincipal.cs (1)
49
public class WindowsPrincipal :
ClaimsPrincipal
{
System.Web (1)
Security\RolePrincipal.cs (1)
34
public class RolePrincipal :
ClaimsPrincipal
, ISerializable
10 instantiations of ClaimsPrincipal
mscorlib (2)
system\security\claims\ClaimsPrincipal.cs (2)
132
return new
ClaimsPrincipal
(Thread.CurrentPrincipal);
285
return new
ClaimsPrincipal
(this);
System.IdentityModel (5)
System\IdentityModel\Tokens\AuthorizationPolicy.cs (3)
195
return new
ClaimsPrincipal
(new ClaimsIdentity());
242
return new
ClaimsPrincipal
(ici);
245
return new
ClaimsPrincipal
(new ClaimsIdentity(identity));
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
839
principal = new
ClaimsPrincipal
();
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
248
ClaimsPrincipal principal = new
ClaimsPrincipal
(tokenDescriptor.Subject);
System.ServiceModel (3)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
146
principal = claimsPrincipal ?? new
ClaimsPrincipal
( new ClaimsIdentity() );
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (2)
68
claimsPrincipal = new
ClaimsPrincipal
(ap.IdentityCollection);
82
claimsPrincipal = new
ClaimsPrincipal
();
89 references to ClaimsPrincipal
mscorlib (16)
system\security\claims\ClaimsPrincipal.cs (16)
79
static Func<
ClaimsPrincipal
> s_principalSelector = ClaimsPrincipalSelector;
124
static
ClaimsPrincipal
SelectClaimsPrincipal()
126
ClaimsPrincipal
claimsPrincipal = Thread.CurrentPrincipal as
ClaimsPrincipal
;
148
public static Func<
ClaimsPrincipal
> ClaimsPrincipalSelector
164
/// Initializes an instance of <see cref="
ClaimsPrincipal
"/>
188
/// Initializes an instance of <see cref="
ClaimsPrincipal
"/>
229
ClaimsPrincipal
cp = principal as
ClaimsPrincipal
;
244
/// Initializes an instance of <see cref="
ClaimsPrincipal
"/> using a <see cref="BinaryReader"/>.
247
/// <param name="reader">a <see cref="BinaryReader"/> pointing to a <see cref="
ClaimsPrincipal
"/>.</param>
281
/// Creates a new instance of <see cref="
ClaimsPrincipal
"/> with values copied from this object.
283
public virtual
ClaimsPrincipal
Clone()
506
/// Gets the claims as <see cref="IEnumerable{Claim}"/>, associated with this <see cref="
ClaimsPrincipal
"/> by enumerating all <see cref="ClaimsIdentities"/>.
525
public static
ClaimsPrincipal
Current
785
/// <param name="reader">a <see cref="BinaryReader"/> pointing to a <see cref="
ClaimsPrincipal
"/>.</param>
System.IdentityModel (59)
System\IdentityModel\Claims\AuthorizationContext.cs (4)
20
ClaimsPrincipal
_principal;
31
public AuthorizationContext(
ClaimsPrincipal
principal, string resource, string action )
58
public AuthorizationContext(
ClaimsPrincipal
principal, Collection<System.Security.Claims.Claim> resource, Collection<System.Security.Claims.Claim> action )
99
public
ClaimsPrincipal
Principal
System\IdentityModel\Claims\ClaimsAuthenticationManager.cs (3)
20
/// <param name="incomingPrincipal"><see cref="
ClaimsPrincipal
"/> presented by the client (in the form of a
23
public virtual
ClaimsPrincipal
Authenticate(string resourceName,
ClaimsPrincipal
incomingPrincipal)
System\IdentityModel\Diagnostics\AuthorizeTraceRecord.cs (2)
28
ClaimsPrincipal
_claimsPrincipal;
32
public AuthorizeTraceRecord(
ClaimsPrincipal
claimsPrincipal, string url, string action )
System\IdentityModel\Diagnostics\ClaimsPrincipalTraceRecord.cs (2)
29
ClaimsPrincipal
_claimsPrincipal;
31
public ClaimsPrincipalTraceRecord(
ClaimsPrincipal
claimsPrincipal )
System\IdentityModel\SecurityTokenService.cs (23)
27
ClaimsPrincipal
_claimsPrincipal;
56
public FederatedAsyncState(RST request,
ClaimsPrincipal
principal, IAsyncResult result)
87
public
ClaimsPrincipal
ClaimsPrincipal
121
ClaimsPrincipal
_principal;
148
public virtual IAsyncResult BeginCancel(
ClaimsPrincipal
principal, RST request, AsyncCallback callback, object state)
163
protected virtual IAsyncResult BeginGetScope(
ClaimsPrincipal
principal, RST request, AsyncCallback callback, object state)
171
/// <param name="principal">The <see cref="
ClaimsPrincipal
"/> to issue a token for.</param>
177
public virtual IAsyncResult BeginIssue(
ClaimsPrincipal
principal, RST request, AsyncCallback callback, object state)
207
/// <param name="principal">The <see cref="
ClaimsPrincipal
"/> to renew.</param>
213
public virtual IAsyncResult BeginRenew(
ClaimsPrincipal
principal, RST request, AsyncCallback callback, object state)
221
/// <param name="principal">The <see cref="
ClaimsPrincipal
"/> to validate.</param>
227
public virtual IAsyncResult BeginValidate(
ClaimsPrincipal
principal, RST request, AsyncCallback callback, object state)
235
/// <param name="principal">The <see cref="
ClaimsPrincipal
"/> to cancel.</param>
238
public virtual RSTR Cancel(
ClaimsPrincipal
principal, RST request)
639
protected abstract Scope GetScope(
ClaimsPrincipal
principal, RST request);
648
protected abstract ClaimsIdentity GetOutputClaimsIdentity(
ClaimsPrincipal
principal, RequestSecurityToken request, Scope scope);
661
protected virtual IAsyncResult BeginGetOutputClaimsIdentity(
ClaimsPrincipal
principal, RequestSecurityToken request, Scope scope, AsyncCallback callback, object state)
684
public virtual RSTR Issue(
ClaimsPrincipal
principal, RST request)
991
public
ClaimsPrincipal
Principal
1034
/// <param name="principal">The <see cref="
ClaimsPrincipal
"/> to renew.</param>
1037
public virtual RSTR Renew(
ClaimsPrincipal
principal, RST request)
1045
/// <param name="principal">The <see cref="
ClaimsPrincipal
"/> to validate.</param>
1048
public virtual RSTR Validate(
ClaimsPrincipal
principal, RST request)
System\IdentityModel\Tokens\AuthorizationPolicy.cs (6)
121
ClaimsPrincipal
principalToAdd = CreateClaimsPrincipalFromIdentities(_identityCollection);
138
ClaimsPrincipal
principal = principalObj as
ClaimsPrincipal
;
188
private static
ClaimsPrincipal
CreateClaimsPrincipalFromIdentities(IEnumerable<ClaimsIdentity> identities)
198
ClaimsPrincipal
principal = CreateFromIdentity(selectedClaimsIdentity);
220
private static
ClaimsPrincipal
CreateFromIdentity(IIdentity identity)
System\IdentityModel\Tokens\SessionSecurityToken.cs (15)
46
ClaimsPrincipal
_claimsPrincipal;
73
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal)
82
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal, TimeSpan lifetime)
92
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal, string context)
103
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal, string context, DateTime? validFrom, DateTime? validTo)
115
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal, string context, string endpointId, DateTime? validFrom, DateTime? validTo)
129
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal,
150
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal,
179
public SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal,
207
internal SessionSecurityToken(
ClaimsPrincipal
claimsPrincipal,
485
ClaimsPrincipal
principal = null;
532
public
ClaimsPrincipal
ClaimsPrincipal
791
ClaimsPrincipal
ReadPrincipal(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary)
803
ClaimsPrincipal
principal = null;
1194
void WritePrincipal(XmlDictionaryWriter dictionaryWriter, SessionDictionary dictionary,
ClaimsPrincipal
principal)
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (4)
248
ClaimsPrincipal
principal = new ClaimsPrincipal(tokenDescriptor.Subject);
268
/// Creates a <see cref="SessionSecurityToken"/> based on an <see cref="
ClaimsPrincipal
"/> and a valid time range.
270
/// <param name="principal"><see cref="
ClaimsPrincipal
"/></param>
276
ClaimsPrincipal
principal,
System.ServiceModel (14)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
641
ClaimsPrincipal
claimsPrincipal = principal as
ClaimsPrincipal
;
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (2)
28
using ClaimsPrincipal = System.Security.Claims.
ClaimsPrincipal
;
130
ClaimsPrincipal
claimsPrincipal = OperationContext.Current.ClaimsPrincipal;
System\ServiceModel\OperationContext.cs (1)
343
public
ClaimsPrincipal
ClaimsPrincipal
System\ServiceModel\Security\DispatchContext.cs (2)
17
ClaimsPrincipal
principal;
28
public
ClaimsPrincipal
Principal
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (3)
30
/// a ServiceHost, only <see cref="System.Security.Claims.
ClaimsPrincipal
"/>
678
ClaimsPrincipal
claimsPrincipal = operationContext.ServiceSecurityContext.AuthorizationContext.Properties[AuthorizationPolicy.ClaimsPrincipalKey] as
ClaimsPrincipal
;
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (1)
50
ClaimsPrincipal
claimsPrincipal = null;
System\ServiceModel\Security\WSTrustServiceContract.cs (3)
220
ClaimsPrincipal
icp = dispatchContext.Principal;
362
Principal = OperationContext.Current.ClaimsPrincipal as
ClaimsPrincipal
,
1483
ClaimsPrincipal
icp = dispatchContext.Principal;