Package com.vonage.client.auth.camara
Class NetworkAuthClient
java.lang.Object
com.vonage.client.auth.camara.NetworkAuthClient
Used for obtaining access tokens for use with Vonage CAMARA APIs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildOidcUrl(BackendAuthRequest request) getCamaraToken(TokenRequest request) Obtains a new access token for a Back-End auth request.
-
Constructor Details
-
NetworkAuthClient
Create a new NetworkAuthClient.- Parameters:
wrapper- Http Wrapper used to create authentication requests.
-
-
Method Details
-
buildOidcUrl
-
getCamaraToken
Obtains a new access token for a Back-End auth request.- Parameters:
request- The token request parameters.- Returns:
- The response containing the access token.
- Throws:
NetworkAuthResponseException- If an error was encountered during the workflow.- Since:
- 8.9.0
-