Compartir a través de


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
public property static AnonymousPrincipal Gets a IClaimsPrincipal with a ClaimsIdentity that contains zero claims.
public property Identities Gets the ClaimsIdentityCollection associated with this principal.
public property Identity Gets the IIdentity of the current principal.

Arriba

Público Métodos

(vea también Protegido Métodos)

  Nombre Descripción
public method Copy Returns a new T:Microsoft.IdentityModel.Claims.ClaimsPrincipal object copied from this object
public methodstatic CreateFromHttpContext Sobrecargado.  
public methodstatic CreateFromIdentities Sobrecargado.  
public methodstatic CreateFromIdentity Sobrecargado.  
public methodstatic CreateFromPrincipal Sobrecargado.  
public method Equals  Sobrecargado. (Se hereda de Object)
public method GetHashCode  (Se hereda de Object)
public method GetType  (Se hereda de Object)
public method 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.
public methodstatic ReferenceEquals  (Se hereda de Object)
public methodstatic SelectPrimaryIdentity This method iterates through the collection of ClaimsIdentities and determines which identity must be used as the primary one.
public method ToString  (Se hereda de Object)

Arriba

Protegido Métodos

  Nombre Descripción
protected method Finalize  (Se hereda de Object)
protected method 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.