Variable checkedAssertion
checkedAssertion: (
assertion: any,
what: any,
) =>
| {
errorCode: string;
ok: boolean;
reason: string;
subject?: undefined;
trustFault?: undefined;
}
| {
errorCode: string;
ok: boolean;
reason: string;
subject?: undefined;
trustFault: string;
}
| {
errorCode?: undefined;
ok: boolean;
reason?: undefined;
subject: any;
trustFault?: undefined;
} = ...
Type Declaration
-
- (
assertion: any,
what: any,
):
| {
errorCode: string;
ok: boolean;
reason: string;
subject?: undefined;
trustFault?: undefined;
}
| {
errorCode: string;
ok: boolean;
reason: string;
subject?: undefined;
trustFault: string;
}
| {
errorCode?: undefined;
ok: boolean;
reason?: undefined;
subject: any;
trustFault?: undefined;
}
-
Returns
| {
errorCode: string;
ok: boolean;
reason: string;
subject?: undefined;
trustFault?: undefined;
}
| {
errorCode: string;
ok: boolean;
reason: string;
subject?: undefined;
trustFault: string;
}
| {
errorCode?: undefined;
ok: boolean;
reason?: undefined;
subject: any;
trustFault?: undefined;
}
{ ok, subject }, or { ok: false, errorCode, … } — with
trustFault: 'ExpiredData' on an expired one, the one refusal here whose
section 11 code does not depend on the seat it was presented in
Checks a SAML assertion presented to this STS, as a credential or inside OnBehalfOf or ActAs: its signature against this realm's own signing certificate, its conditions within
oauth2.clockSkewS, and a subject.