Export (0) Print
Expand All

PassportIdentity Members

PassportIdentity overview

Public Constructors

public constructorPassportIdentity Constructor Initializes a new instance of the PassportIdentity class.

Public Properties

public propertyAuthenticationType Gets the type of authentication used to identify the user.
public propertyError Gets a value indicating the error state associated with the current Passport ticket.
public propertyGetFromNetworkServer Gets information on a Passport server connection and query string.
public propertyHasSavedPassword Gets information on whether the Passport member's password was saved.
public propertyHasTicket Gets a value indicating whether the query string includes a Passport ticket as a cookie.
public propertyHexPUID Gets the Passport Unique Identifier (PUID) for the currently authenticated user, in hexadecimal form.
public propertyIsAuthenticated Gets a value indicating whether the user is authenticated against a Passport authority.
public propertyItem Gets Passport profile attributes.

In C#, this property is the indexer for the PassportIdentity class.

public propertyName Gets the name of the current user.
public propertyTicketAge Gets the time, in seconds, since the last ticket was issued or refreshed.
public propertyTimeSinceSignIn [To be supplied.]

Public Methods

public methodAuthUrl 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 methodAuthUrl2 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 methodstatic (Shared in Visual Basic)Compress Compresses data.
public methodstatic (Shared in Visual Basic)CryptIsValid Gets the state of a flag indicating if the Passport Manager is in a valid state for encryption.
public methodstatic (Shared in Visual Basic)CryptPutHost Sets the key being used for Passport encryption and decryption.
public methodstatic (Shared in Visual Basic)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 methodstatic (Shared in Visual Basic)Decompress Decompresses data that has been compressed by the Compress method.
public methodstatic (Shared in Visual Basic)Decrypt Decrypts data using the Passport participant key for the current site.
public methodstatic (Shared in Visual Basic)Encrypt Encrypts data using the Passport participant key for the current site.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetCurrentConfig Gets the contents of a registry key under the HKLM\SW\Microsoft\Passport hive.
public methodGetDomainAttribute Provides information for a Passport domain by querying the Passport manager for the requested domain attribute.
public methodGetDomainFromMemberName Returns the Passport domain from the member name string.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetIsAuthenticated Overloaded. Indicates whether the user is authenticated by a Passport authority.
public methodGetLoginChallenge 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 methodGetOption Gets a specific Passport logon option.
public methodGetProfileObject Returns Passport profile information for the specified profile attribute.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodHasFlag Indicates whether a given flag is set in this user's profile.
public methodHasProfile Indicates whether a given profile attribute exists in this user's profile.
public methodHaveConsent Indicates whether full consent is granted in this user's profile.
public methodLoginUser Overloaded. Logs the user on, either by generating a 302 redirect URL or by initiating a Passport-aware client authentication exchange.
public methodLogoTag Overloaded. Returns an HTML fragment containing an HTML <img> tag for a Passport link.
public methodLogoTag2 Overloaded. Returns an HTML fragment containing an HTML <img> tag for a Passport link.
public methodLogoutURL Overloaded. Returns the Passport logout URL string.
public methodSetOption Sets a specific Passport logon option.
public methodstatic (Shared in Visual Basic)SignOut Logs off the given Passport member from the current session.
public methodTicket Gets information on a specific attribute of the Passport authentication ticket.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize Overridden. Frees resources used by the PassportIdentity class.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PassportIdentity Class | System.Web.Security Namespace

Show:
© 2014 Microsoft