PassportIdentity Members
.NET Framework 2.0
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 | |
|---|---|---|
| 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. |
| Name | Gets the name of the current user. |
| TicketAge | Gets the time, in seconds, since the last ticket was issued or refreshed. |
| TimeSinceSignIn | Gets the time, in seconds, since a member's logon to the Passport logon server. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| 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 | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| 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 | Serves as a hash function for a particular type. (inherited from Object) |
| 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 | Gets the Type of the current instance. (inherited from Object) |
| 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. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| 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 | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| 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) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| System.IDisposable.Dispose | Releases all resources used by the PassportIdentity class. |
Reference
PassportIdentity ClassSystem.Web.Security Namespace
Other Resources
Passport Authentication ProviderCommunity Additions
ADD
Show: