Package io.github.kaposke.services
Class TokenService
java.lang.Object
io.github.kaposke.services.BaseService
io.github.kaposke.services.TokenService
- All Implemented Interfaces:
TokenClient
-
Field Summary
Fields inherited from class io.github.kaposke.services.BaseService
httpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateTokenRequest input) findByUserId(float userId) getById(float id) remove(float id) Methods inherited from class io.github.kaposke.services.BaseService
execute
-
Constructor Details
-
TokenService
public TokenService(okhttp3.OkHttpClient httpClient)
-
-
Method Details
-
findByUserId
- Specified by:
findByUserIdin interfaceTokenClient- Throws:
ApiException
-
create
- Specified by:
createin interfaceTokenClient- Throws:
ApiException
-
getById
- Specified by:
getByIdin interfaceTokenClient- Throws:
ApiException
-
remove
- Specified by:
removein interfaceTokenClient- Throws:
ApiException
-