ProvisioningServiceClientUnathorizedException Class

public class ProvisioningServiceClientUnathorizedException extends ProvisioningServiceClientBadUsageException

Create unauthorized exception

The authorization token cannot be validated; for example, it is expired or does not apply to the request’s URI. This error code is also returned to devices as part of the TPM attestation flow.

HTTP status code 401

Constructor Summary

Constructor Description
ProvisioningServiceClientUnathorizedException()
ProvisioningServiceClientUnathorizedException(String message)

Inherited Members

Constructor Details

ProvisioningServiceClientUnathorizedException

public ProvisioningServiceClientUnathorizedException()

ProvisioningServiceClientUnathorizedException

public ProvisioningServiceClientUnathorizedException(String message)

Parameters:

message

Applies to