Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PassportIdentity Methods

The methods of the PassportIdentity class are listed here. For a complete list of PassportIdentity class members, see the PassportIdentity Members topic.

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:
© 2015 Microsoft