ClaimsPrincipal (Miembros)
Provides methods that retrieve information about the current caller.
En las tablas siguientes se enumeran los miembros expuestos por el tipo ClaimsPrincipal.
Público Constructores
Nombre | Descripción | |
---|---|---|
ClaimsPrincipal | Sobrecargado. |
Arriba
Público Propiedades
Nombre | Descripción | |
---|---|---|
AnonymousPrincipal | Gets a IClaimsPrincipal with a ClaimsIdentity that contains zero claims. | |
Identities | Gets the ClaimsIdentityCollection associated with this principal. | |
Identity | Gets the IIdentity of the current principal. |
Arriba
Público Métodos
(vea también Protegido Métodos)
Nombre | Descripción | |
---|---|---|
Copy | Returns a new T:Microsoft.IdentityModel.Claims.ClaimsPrincipal object copied from this object | |
CreateFromHttpContext | Sobrecargado. | |
CreateFromIdentities | Sobrecargado. | |
CreateFromIdentity | Sobrecargado. | |
CreateFromPrincipal | Sobrecargado. | |
Equals | Sobrecargado. (Se hereda de Object) | |
GetHashCode | (Se hereda de Object) | |
GetType | (Se hereda de Object) | |
IsInRole | This class interprets IsInRole as the reflection of whether this principal possesses a claim specified by a configured list. The claim value has no bearing on the result. | |
ReferenceEquals | (Se hereda de Object) | |
SelectPrimaryIdentity | This method iterates through the collection of ClaimsIdentities and determines which identity must be used as the primary one. | |
ToString | (Se hereda de Object) |
Arriba
Protegido Métodos
Nombre | Descripción | |
---|---|---|
Finalize | (Se hereda de Object) | |
MemberwiseClone | (Se hereda de Object) |
Arriba
Vea también
Referencia
ClaimsPrincipal (Clase)
Microsoft.IdentityModel.Claims (Espacio de nombres)
Copyright © 2008 Microsoft Corporation.Reservados todos los derechos.