Variable checkRedirectUri
checkRedirectUri: (
opts: any,
) =>
| {
description: string;
error: any;
errorCode: any;
ok: boolean;
requirement: any;
}
| { how?: undefined; matched?: undefined; ok: boolean }
| { how: string; matched: any; ok: boolean } = checkRedirectUri
Type Declaration
-
- (
opts: any,
):
| {
description: string;
error: any;
errorCode: any;
ok: boolean;
requirement: any;
}
| { how?: undefined; matched?: undefined; ok: boolean }
| { how: string; matched: any; ok: boolean }
-
Returns
| {
description: string;
error: any;
errorCode: any;
ok: boolean;
requirement: any;
}
| { how?: undefined; matched?: undefined; ok: boolean }
| { how: string; matched: any; ok: boolean }
{ ok: true, matched, how }, or { ok: false, errorCode, error, requirement, description }
Checks a redirect URI against the client's registered ones (or the configured list for an unregistered client). Its refusal must not be reported to the redirect URI.