C# Class ReviewR.Web.Models.SessionToken

Mostra file Open project: anurse/ReviewR Class Usage Examples

Public Methods

Method Description
EncodeToken ( ) : byte[]
FromEncodedToken ( byte encoded ) : SessionToken
SessionToken ( ReviewRPrincipal user, System.DateTime expires ) : System
SessionToken ( int version, ReviewRPrincipal user, System.DateTime expires ) : System

Method Details

EncodeToken() public method

public EncodeToken ( ) : byte[]
return byte[]

FromEncodedToken() public static method

public static FromEncodedToken ( byte encoded ) : SessionToken
encoded byte
return SessionToken

SessionToken() public method

public SessionToken ( ReviewRPrincipal user, System.DateTime expires ) : System
user ReviewRPrincipal
expires System.DateTime
return System

SessionToken() public method

public SessionToken ( int version, ReviewRPrincipal user, System.DateTime expires ) : System
version int
user ReviewRPrincipal
expires System.DateTime
return System