PassportPrincipal Members

Represents a Passport-authenticated principal.

The following tables list the members exposed by the PassportPrincipal type.

  Name Description
Public method PassportPrincipal Initializes a new instance of the PassportPrincipal class from a PassportIdentity instance and an array of role names to which the user represented by that PassportIdentity belongs.
Top

  Name Description
Public property Identity  Gets the GenericIdentity of the user represented by the current GenericPrincipal.(inherited from GenericPrincipal)
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsInRole  Determines whether the current GenericPrincipal belongs to the specified role. (inherited from GenericPrincipal)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show: