Package com.vonage.client.auth.camara
Class BackendAuthResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.auth.camara.BackendAuthResponse
- All Implemented Interfaces:
Jsonable
Represents the response from the first step in an OAuth2 three-legged workflow.
-
Method Summary
Modifier and TypeMethodDescriptionID of the authentication request.Number of seconds until the authentication code expires.Number of seconds until the next request should be made.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getAuthReqId
ID of the authentication request.- Returns:
- The authentication request ID.
-
getExpiresIn
Number of seconds until the authentication code expires.- Returns:
- The auth code expiration time in seconds.
-
getInterval
Number of seconds until the next request should be made.- Returns:
- The request interval, or
nullif unknown / not applicable.
-