(1) Ticket: Provides access to the properties and values of the ticket used for forms authentication and identifies the user. You can use the Ticket property of the FormsIdentity class to access the FormsAuthenticationTicket of the currently authenticated user. You can access the current FormsIdentity object by casting the identity property of the current user to type FormsIdentity.
(2) Token: A handle to the access token associated with the current executing thread to obtain the user's Windows account token. Typically, you retrieve the account token by calling unmanaged code, such as calling the Win32 API LogonUser function.
(3) Identity:identity encapsulates information about the user or entity that is being validated. At the most basic level, the identity contains the name and authentication type. The name can be a user name or a Windows account name, and the authentication type can be a supported login protocol (such as Kerberos V5) or a custom value. The. NET Framework defines a GenericIdentity object and a more specialized WindowsIdentity object, which can be used for most custom logon scenarios, which can be used in situations where you want your application to depend on Windows authentication. In addition, you can define your own identity class to encapsulate custom user information.
(4) Principal:principal represents the security context in which the code is run. Applications that implement role-based security will grant permissions based on the role associated with the principal object. Similar to identity objects, the. NET Framework provides GenericPrincipal objects and WindowsPrincipal objects. You can also define your own custom principal classes.