This documentation is archived and is not being maintained.
PassportIdentity Methods
.NET Framework 1.1
The methods of the PassportIdentity class are listed here. For a complete list of PassportIdentity class members, see the PassportIdentity Members topic.
Public Methods
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. |
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. |
![]() Compress | Compresses data. |
![]() CryptIsValid | Gets the state of a flag indicating if the Passport Manager is in a valid state for encryption. |
![]() CryptPutHost | Sets the key being used for Passport encryption and decryption. |
![]() 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. |
![]() Decompress | Decompresses data that has been compressed by the Compress method. |
![]() Decrypt | Decrypts data using the Passport participant key for the current site. |
![]() Encrypt | Encrypts data using the Passport participant key for the current site. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetCurrentConfig | Gets the contents of a registry key under the HKLM\SW\Microsoft\Passport hive. |
GetDomainAttribute | Provides information for a Passport domain by querying the Passport manager for the requested domain attribute. |
GetDomainFromMemberName | Returns the Passport domain from the member name string. |
GetHashCode (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. |
GetIsAuthenticated | Overloaded. Indicates whether the user is authenticated by a Passport authority. |
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. |
GetOption | Gets a specific Passport logon option. |
GetProfileObject | Returns Passport profile information for the specified profile attribute. |
GetType (inherited from Object) | Gets the Type of the current instance. |
HasFlag | Indicates whether a given flag is set in this user's profile. |
HasProfile | Indicates whether a given profile attribute exists in this user's profile. |
HaveConsent | Indicates whether full consent is granted in this user's profile. |
LoginUser | Overloaded. Logs the user on, either by generating a 302 redirect URL or by initiating a Passport-aware client authentication exchange. |
LogoTag | Overloaded. Returns an HTML fragment containing an HTML <img> tag for a Passport link. |
LogoTag2 | Overloaded. Returns an HTML fragment containing an HTML <img> tag for a Passport link. |
LogoutURL | Overloaded. Returns the Passport logout URL string. |
SetOption | Sets a specific Passport logon option. |
![]() SignOut | Logs off the given Passport member from the current session. |
Ticket | Gets information on a specific attribute of the Passport authentication ticket. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Methods
Finalize | Overridden. Frees resources used by the PassportIdentity class.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:
