This documentation is archived and is not being maintained.

PassportIdentity Members

Provides a class to be used by PassportAuthenticationModule. It provides a way for an application to access the Ticket method. This class cannot be inherited.

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

  Name Description
Public method PassportIdentity Initializes a new instance of the PassportIdentity class.
Top

  Name Description
Public property AuthenticationType Gets the type of authentication used to identify the user.
Public property Error Gets a value indicating the error state associated with the current Passport ticket.
Public property GetFromNetworkServer Gets information on a Passport server connection and query string.
Public property HasSavedPassword Gets information on whether the Passport member's password was saved.
Public property HasTicket Gets a value indicating whether the query string includes a Passport ticket as a cookie.
Public property HexPUID Gets the Passport Unique Identifier (PUID) for the currently authenticated user, in hexadecimal form.
Public property IsAuthenticated Gets a value indicating whether the user is authenticated against a Passport authority.
Public property Item Gets Passport profile attributes.
Public property Name Gets the name of the current user.
Public property TicketAge Gets the time, in seconds, since the last ticket was issued or refreshed.
Public property TimeSinceSignIn Gets the time, in seconds, since a member's logon to the Passport logon server.
Top

(see also Protected Methods )
  Name Description
Public method AuthUrl Overloaded. Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string.
Public method AuthUrl2 Overloaded. Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string.
Public method Static Compress Compresses data.
Public method Static CryptIsValid Gets the state of a flag indicating if the Passport Manager is in a valid state for encryption.
Public method Static CryptPutHost Sets the key being used for Passport encryption and decryption.
Public method Static CryptPutSite Sets the key being used for Passport encryption and decryption by referring to the site-name label assigned to that key when the key was first installed.
Public method Static Decompress Decompresses data that has been compressed by the Compress method.
Public method Static Decrypt Decrypts data using the Passport participant key for the current site.
Public method Static Encrypt Encrypts data using the Passport participant key for the current site.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetCurrentConfig Gets the contents of a registry key under the HKLM\SW\Microsoft\Passport hive.
Public method GetDomainAttribute Provides information for a Passport domain by querying the Passport manager for the requested domain attribute.
Public method GetDomainFromMemberName Returns the Passport domain from the member name string.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetIsAuthenticated Overloaded. Indicates whether the user is authenticated by a Passport authority.
Public method GetLoginChallenge Overloaded. Logs the user on by outputting the appropriate headers to either a 302 redirect URL or the initiation of a Passport-aware client authentication exchange.
Public method GetOption Gets a specific Passport logon option.
Public method GetProfileObject Returns Passport profile information for the specified profile attribute.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method HasFlag Indicates whether a given flag is set in this user's profile.
Public method HasProfile Indicates whether a given profile attribute exists in this user's profile.
Public method HaveConsent Indicates whether full consent is granted in this user's profile.
Public method LoginUser Overloaded. Logs the user on, either by generating a 302 redirect URL or by initiating a Passport-aware client authentication exchange.
Public method LogoTag Overloaded. Returns an HTML fragment containing an HTML <img> tag for a Passport link.
Public method LogoTag2 Overloaded. Returns an HTML fragment containing an HTML <img> tag for a Passport link.
Public method LogoutURL Overloaded. Returns the Passport logout URL string.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetOption Sets a specific Passport logon option.
Public method Static SignOut Logs off the given Passport member from the current session.
Public method Ticket Gets information on a specific attribute of the Passport authentication ticket.
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

  Name Description
Explicit interface implementation Method System.IDisposable.Dispose Releases all resources used by the PassportIdentity class.
Top
Show: