Name | Description | |
---|---|---|
AsFirewallUser | returns this user as a firewall user. | |
GetFireWallUserId | Gets the fire wall user identifier. | |
GetRequestor | Gets the requester, type of user with less data. | |
GetUserId | Gets the user identifier, null if the user is not logged in, or if the identity system does not assign integers to the users id's but strings or Guid's are used. | |
GetUserName | Gets the name of the user from underlying identity system. | |
GetUserSalt | Gets the user salt, a personal cipher key for a user and is based on the firewall identifier. | |
IsSpoofing | Finds-out if the user is using a fake user-agent | |
IsUserInRole | Determines whether [is user in role] [the specified role], implies the projects has roles enabled. | |
TryGetFromSession<T> | Tries the get a type of T from the users session. | |
TryReadCookie | Try and read the cookie, the value will be deciphered and provided as the output value | |
TryRemoveFromSession | Tries to remove stored items from session, will return true if no exception was raised | |
TryStoreInSession | Tries the store the object in the users session. | |
WriteCookie | Overloaded. Write the string to a persistent cookie using the GDPR compliant cipher with the users Salt as password | |
WriteCookieAsync | Write the string to a persistent cookie using the GDPR compliant cipher with the users Salt as password |