public void WriteLoginState(Identity identity) { var tokenValue = this.Authentication.IdentityToTokenString(identity); HttpUtils.AddCookie(this.TokenKeyName, tokenValue, 60 * 24 * 30); }
public void WriteLoginState(Identity identity) { var tokenValue = this.Authentication.IdentityToTokenString(identity); HttpUtils.AddCookie(this.TokenKeyName, tokenValue, 60 * 24 * 30); }