Files

15 lines
284 B
TypeScript

import { rejects, skippable } from './run.js'
import { plan, nonRepudiation } from '../runner.js'
if (nonRepudiation(plan)) {
rejects(
import.meta.url,
{ code: 'OAUTH_INVALID_RESPONSE' },
{
message: /signature/,
},
)
} else {
skippable(import.meta.url)
}