/// <summary>
 /// Creates the session information.
 /// </summary>
 /// <param name="userUri">The URI for the user resource.</param>
 /// <param name="username">The login name for the user.</param>
 /// <param name="loginInfo">Information about the session.</param>
 internal Session(Uri userUri, string username, LoginInfo loginInfo)
 {
     UserUri = userUri;
     UserName = username;
     LoginInfo = loginInfo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the session information.
 /// </summary>
 /// <param name="userUri">The URI for the user resource.</param>
 /// <param name="username">The login name for the user.</param>
 /// <param name="loginInfo">Information about the session.</param>
 internal Session(Uri userUri, string username, LoginInfo loginInfo)
 {
     UserUri   = userUri;
     UserName  = username;
     LoginInfo = loginInfo;
 }