diff options
author | 杨宇千 <crupest@outlook.com> | 2019-04-11 21:13:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 21:13:15 +0800 |
commit | 8c5e7069d2651fb6fae641dfe482d7a0910b3fd1 (patch) | |
tree | 49dc35791778a4ed1403319708046ac8823210b6 /Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts | |
parent | 1eb6d9abfc24eec380b7b5d7423102a53041239e (diff) | |
parent | f562660f52ce055e243b937a988f04c90ad3ae55 (diff) | |
download | timeline-8c5e7069d2651fb6fae641dfe482d7a0910b3fd1.tar.gz timeline-8c5e7069d2651fb6fae641dfe482d7a0910b3fd1.tar.bz2 timeline-8c5e7069d2651fb6fae641dfe482d7a0910b3fd1.zip |
Merge pull request #19 from crupest/18-createtoken
Change create token api.
Diffstat (limited to 'Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts b/Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts index 5664cf7c..f52233c9 100644 --- a/Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts +++ b/Timeline/ClientApp/src/app/user/internal-user-service/http-entities.ts @@ -6,8 +6,9 @@ export const validateTokenUrl = '/api/User/ValidateToken'; export type CreateTokenRequest = UserCredentials; export interface CreateTokenResponse { - token: string; - userInfo: UserInfo; + success: boolean; + token?: string; + userInfo?: UserInfo; } export interface ValidateTokenRequest { |