Interface ILoginClientHelper
- All Known Implementing Classes:
LoginClientHelper
public interface ILoginClientHelper
Interface for helper methods used in login-related API operations.
The ILoginClientHelper
defines methods for creating API request URIs
and parsing JSON response bodies into their corresponding Java objects.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAuthUri
(String tokenEndpoint) Creates a URI for the given API endpoint.parseDeploymentsResponseToObject
(String responseBody) Parses a JSON response body into aGetDeploymentsResponse
object.parseResourceGroupsResponseToObject
(String responseBody) Parses a JSON response body into aGetResourceGroupsResponse
object.
-
Method Details
-
createAuthUri
Creates a URI for the given API endpoint. -
parseDeploymentsResponseToObject
Parses a JSON response body into aGetDeploymentsResponse
object.- Parameters:
responseBody
- the JSON response body as aString
.- Returns:
- the parsed
GetDeploymentsResponse
.
-
parseResourceGroupsResponseToObject
Parses a JSON response body into aGetResourceGroupsResponse
object.- Parameters:
responseBody
- the JSON response body as aString
.- Returns:
- the parsed
GetResourceGroupsResponse
.
-