Skip to content

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

unknown

the response to validate

asserts response is DeviceAuthorizationResponse

if the response does not match the expected format