Skip to content

isValidDeviceAccessTokenResponse

isValidDeviceAccessTokenResponse(response): response is DeviceAccessTokenResponse

Defined in: src/oauth/authorize.ts:116

Validate the given response matches the format expected for a DeviceAccessTokenResponse

unknown

the response to validate

response is DeviceAccessTokenResponse

if the response does not match the expected format