public interface UserIdentityService
Modifier and Type | Method and Description |
---|---|
io.reactivex.Single<AccountInfo> |
affiliateSignUp(java.lang.String signUpToken,
AffiliateSignUpRequest body) |
io.reactivex.Completable |
changePassword(ChangePasswordRequest body) |
io.reactivex.Single<java.util.List<AccountProfile>> |
createProfiles(CreateProfileRequest body) |
io.reactivex.Completable |
deleteProfile(java.lang.String profileId) |
io.reactivex.Single<java.util.List<Affiliate>> |
getAffiliates() |
io.reactivex.Single<java.util.List<AccountProfile>> |
getProfiles() |
io.reactivex.Completable |
resetPassword(ResetPasswordRequest body) |
io.reactivex.Single<AccountInfo> |
signInEmailPassword(SignInRequest body) |
io.reactivex.Single<AccountInfo> |
signInFacebook(SignInSocialRequest body) |
io.reactivex.Single<AccountInfo> |
signInGoogle(SignInSocialRequest body) |
io.reactivex.Single<AccountInfo> |
signUp(SignUpRequest body) |
io.reactivex.Single<TokenResponse> |
switchProfile(java.lang.String profileId) |
io.reactivex.Single<java.util.List<ImageInfo>> |
updatePhoto(java.lang.String profileId,
okhttp3.MultipartBody.Part avatar) |
io.reactivex.Single<AccountProfile> |
updateProfile(java.lang.String profileId,
ProfileProperties accountProperties) |
@POST(value="profiles") io.reactivex.Single<java.util.List<AccountProfile>> createProfiles(@Body CreateProfileRequest body)
@GET(value="profiles") io.reactivex.Single<java.util.List<AccountProfile>> getProfiles()
@POST(value="profiles/{id}/switch") io.reactivex.Single<TokenResponse> switchProfile(@Path(value="id") java.lang.String profileId)
@DELETE(value="profiles/{id}") io.reactivex.Completable deleteProfile(@Path(value="id") java.lang.String profileId)
@PUT(value="profiles/{id}") io.reactivex.Single<AccountProfile> updateProfile(@Path(value="id") java.lang.String profileId, @Body ProfileProperties accountProperties)
@POST(value="profiles/{id}/upload") @Multipart io.reactivex.Single<java.util.List<ImageInfo>> updatePhoto(@Path(value="id") java.lang.String profileId, @Part okhttp3.MultipartBody.Part avatar)
@POST(value="accounts/passwords/change") io.reactivex.Completable changePassword(@Body ChangePasswordRequest body)
@POST(value="affiliates_signup") io.reactivex.Single<AccountInfo> affiliateSignUp(@Header(value="X-USERKIT-TOKEN") java.lang.String signUpToken, @Body AffiliateSignUpRequest body)
@GET(value="client/affiliates") io.reactivex.Single<java.util.List<Affiliate>> getAffiliates()
@POST(value="auth/signup") io.reactivex.Single<AccountInfo> signUp(@Body SignUpRequest body)
@POST(value="auth/signin") io.reactivex.Single<AccountInfo> signInEmailPassword(@Body SignInRequest body)
@POST(value="auth/facebook") io.reactivex.Single<AccountInfo> signInFacebook(@Body SignInSocialRequest body)
@POST(value="auth/google") io.reactivex.Single<AccountInfo> signInGoogle(@Body SignInSocialRequest body)
@POST(value="passwords/reset") io.reactivex.Completable resetPassword(@Body ResetPasswordRequest body)