Advertisement
Guest User

Untitled

a guest
May 24th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. /* Authenticate a User */
  2. ClientResponse<LoginResponse, Errors> response = client.Login(
  3. new LoginRequest(new Guid("00000000-0000-0000-0000-00000000002a"), "bob@example.com", null, "secret"), null);
  4. User user = response.successResponse.user;
  5.  
  6. /* Retrieve User by Email Address */
  7. ClientResponse<UserResponse, Errors> response = client.RetrieveUserByEmail("bob@example.com");
  8. User user = response.successResponse.user;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement