Class SecurityFunctions

The class provides security-related methods.

System.Object
  Stonefield.Library.SecurityFunctions
public static class SecurityFunctions : object

Class Members

MemberDescription

GenerateUserToken

Generates a token string from the specified user name and password.

public static string GenerateUserToken(string username,     string password)

GetDateTimeFromToken

Get the expiry time for the token.

public static DateTime GetDateTimeFromToken(string token)

GetPasswordFromToken

Get the password from the specified token.

public static string GetPasswordFromToken(string token)

GetUserNameFromToken

Get the user name from the specified token.

public static string GetUserNameFromToken(string token)

Requirements

Namespace: Stonefield.Library
Assembly: library.dll