TypeKeySecurity library documentation

TypeKeyIdentity Methods

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

Public Static Methods

MakeLogoutCookieClear the authentication cookie.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCleanUrlOverloaded. Get the current url, cleaned of any TypeKey specific parameters.
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.
GetType (inherited from Object)Gets the Type of the current instance.
IsAuthFreshWhether the authentication occured within the timewindow.
IsEmailHashedWhether the Email field is a SHA-1 hash or an actual email address.
LoginUrlOverloaded. Build a url to send the user to the Typekey server to get authenticated, with the return url set to the current page.
LoginUserOverloaded. Redirect the user to the Typekey server to get authenticated, with the return url set to the current page.
LogoutUrlOverloaded. Build a url to send the user to the TypeKey server to get logged out
LogoutUserOverloaded. Clear authentication cookies and redirect to TypeKey logout url.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TypeKeyIdentity Class | TypeKeySecurity Namespace