Created
August 29, 2019 09:00
-
-
Save ntakouris/45082482cf54f2fd91da33b2b33adf70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IIdentityApi | |
{ | |
[Post("/api/v1/identity/register")] | |
Task<ApiResponse<AuthSuccessResponse>> RegisterAsync([Body] UserRegistrationRequest registrationRequest); | |
[Post("/api/v1/identity/login")] | |
Task<ApiResponse<AuthSuccessResponse>> LoginAsync([Body] UserLoginRequest loginRequest); | |
[Post("/api/v1/identity/refersh")] | |
Task<ApiResponse<AuthSuccessResponse>> RefreshAsync([Body] RefreshTokenRequest refreshRequest); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment