Class AttestationResponse<T>

java.lang.Object
com.azure.core.http.rest.ResponseBase<Void,T>
com.azure.security.attestation.models.AttestationResponse<T>
All Implemented Interfaces:
Response<T>

public final class AttestationResponse<T> extends ResponseBase<Void,T>
The result of an attestation operation.
  • Constructor Details

    • AttestationResponse

      public AttestationResponse(HttpRequest request, int statusCode, HttpHeaders headers, T value, AttestationToken token)
      Creates a ResponseBase.
      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

      public AttestationToken getToken()
      Get the token property: An RFC 7519 JSON Web Token, the body of which is an AttestationResult object.
      Returns:
      the token value.