Package com.dzidzi.api
Interface ApplicationIntegrationApi
public interface ApplicationIntegrationApi
-
Method Summary
Modifier and TypeMethodDescriptionGenerates an api key that will be used to communicate with some endpoint of this application.com.dzidzi.service.login.DzidziUserDetailsgetUserDetails(String key) booleanisKeyValid(String key) Validates if the key is valid.
-
Method Details
-
generateIntegrationKey
ApiTokenResponse generateIntegrationKey()Generates an api key that will be used to communicate with some endpoint of this application.- Returns:
- the api key.
-
isKeyValid
Validates if the key is valid.- Parameters:
key- the key to validate
-
getUserDetails
-