validateDeviceAuthorizationResponse
validateDeviceAuthorizationResponse(
response):asserts response is DeviceAuthorizationResponse
Defined in: src/oauth/authorize.ts:169
Validate the given response matches the format expected for a DeviceAuthorizationResponse
Parameters
Section titled “Parameters”response
Section titled “response”unknown
the response to validate
Returns
Section titled “Returns”asserts response is DeviceAuthorizationResponse
Throws
Section titled “Throws”if the response does not match the expected format