This documentation is archived and is not being maintained.
PassportIdentity Members
.NET Framework 1.1
Public Constructors
PassportIdentity Constructor | Initializes a new instance of the PassportIdentity class. |
Public Properties
AuthenticationType | Gets the type of authentication used to identify the user. |
Error | Gets a value indicating the error state associated with the current Passport ticket. |
GetFromNetworkServer | Gets information on a Passport server connection and query string. |
HasSavedPassword | Gets information on whether the Passport member's password was saved. |
HasTicket | Gets a value indicating whether the query string includes a Passport ticket as a cookie. |
HexPUID | Gets the Passport Unique Identifier (PUID) for the currently authenticated user, in hexadecimal form. |
IsAuthenticated | Gets a value indicating whether the user is authenticated against a Passport authority. |
Item | Gets Passport profile attributes.
In C#, this property is the indexer for the PassportIdentity class. |
Name | Gets the name of the current user. |
TicketAge | Gets the time, in seconds, since the last ticket was issued or refreshed. |
TimeSinceSignIn | [To be supplied.] |
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:
