-
Notifications
You must be signed in to change notification settings - Fork 2
auth.UserServiceContract
auth.UserServiceContract
Name | Type |
---|---|
UserType |
extends ApplicationUserContract
|
-
UserServiceContract
- createFromExternalUserData
- getOneByExternalId
- getOneById
- getOneByUsernameAndPassword
- updateFromExternalUserData
▸ createFromExternalUserData(userData
): UserID
| Promise
<UserID
>
Name | Type |
---|---|
userData |
AuthProviderUserContract |
UserID
| Promise
<UserID
>
packages/auth/src/contracts/user-service.contract.ts:11
▸ getOneByExternalId(externalId
): null
| UserType
| Promise
<null
| UserType
>
Name | Type |
---|---|
externalId |
UserID |
null
| UserType
| Promise
<null
| UserType
>
packages/auth/src/contracts/user-service.contract.ts:6
▸ getOneById(userId
): null
| UserType
| Promise
<null
| UserType
>
Name | Type |
---|---|
userId |
UserID |
null
| UserType
| Promise
<null
| UserType
>
packages/auth/src/contracts/user-service.contract.ts:5
▸ getOneByUsernameAndPassword(username
, password
): null
| UserType
| Promise
<null
| UserType
>
Name | Type |
---|---|
username |
string |
password |
string |
null
| UserType
| Promise
<null
| UserType
>
packages/auth/src/contracts/user-service.contract.ts:7
▸ updateFromExternalUserData(userData
): UserID
| Promise
<UserID
>
Name | Type |
---|---|
userData |
AuthProviderUserContract |
UserID
| Promise
<UserID
>