forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuthDtos.cs
More file actions
30 lines (25 loc) · 857 Bytes
/
AuthDtos.cs
File metadata and controls
30 lines (25 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.ServiceClient.Web
{
//Copy from ServiceStack.ServiceInterface.Auth to avoid deps
public class Auth
{
public string provider { get; set; }
public string State { get; set; }
public string oauth_token { get; set; }
public string oauth_verifier { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public bool? RememberMe { get; set; }
}
public class AuthResponse
{
public AuthResponse()
{
this.ResponseStatus = new ResponseStatus();
}
public string SessionId { get; set; }
public string UserName { get; set; }
public ResponseStatus ResponseStatus { get; set; }
}
}