Package io.github.kaposke.services
Class AuthService
java.lang.Object
io.github.kaposke.services.BaseService
io.github.kaposke.services.AuthService
- All Implemented Interfaces:
AuthClient
-
Field Summary
Fields inherited from class io.github.kaposke.services.BaseService
httpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlogin(AuthRequest input) logout()oneTimeLogin(OneTimeLoginRequest input) refreshToken(RefreshTokenRequest input) signup(AuthRequest input) verifyEmail(VerifyEmailRequest input) Methods inherited from class io.github.kaposke.services.BaseService
execute
-
Constructor Details
-
AuthService
public AuthService(okhttp3.OkHttpClient httpClient)
-
-
Method Details
-
signup
- Specified by:
signupin interfaceAuthClient- Throws:
ApiException
-
login
- Specified by:
loginin interfaceAuthClient- Throws:
ApiException
-
logout
- Specified by:
logoutin interfaceAuthClient- Throws:
ApiException
-
refreshToken
- Specified by:
refreshTokenin interfaceAuthClient- Throws:
ApiException
-
resetPassword
- Specified by:
resetPasswordin interfaceAuthClient- Throws:
ApiException
-
oneTimeLogin
- Specified by:
oneTimeLoginin interfaceAuthClient- Throws:
ApiException
-
changePassword
- Specified by:
changePasswordin interfaceAuthClient- Throws:
ApiException
-
verifyEmail
- Specified by:
verifyEmailin interfaceAuthClient- Throws:
ApiException
-
resendVerifictionEmail
- Specified by:
resendVerifictionEmailin interfaceAuthClient- Throws:
ApiException
-