Class AttestationResponse<T>
java.lang.Object
com.azure.core.http.rest.ResponseBase<Void,T>
com.azure.security.attestation.models.AttestationResponse<T>
- All Implemented Interfaces:
com.azure.core.http.rest.Response<T>
The result of an attestation operation.
-
Constructor Summary
ConstructorsConstructorDescriptionAttestationResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders headers, T value, AttestationToken token) Creates aResponseBase. -
Method Summary
Modifier and TypeMethodDescriptiongetToken()Get the token property: An RFC 7519 JSON Web Token, the body of which is an AttestationResult object.Methods inherited from class com.azure.core.http.rest.ResponseBase
getDeserializedHeaders, getHeaders, getRequest, getStatusCode, getValue
-
Constructor Details
-
AttestationResponse
public AttestationResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders headers, T value, AttestationToken token) Creates aResponseBase.- Parameters:
request- The HTTP request which resulted in this response.statusCode- The status code of the HTTP response.headers- The headers of the HTTP response.value- The deserialized value of the HTTP response.token- The Attestation Token which was returned from the service.
-
-
Method Details
-
getToken
Get the token property: An RFC 7519 JSON Web Token, the body of which is an AttestationResult object.- Returns:
- the token value.
-