Variable removeForSubject
removeForSubject: (
subject: string,
id: string,
via: string,
) => {
already?: boolean;
copies?: number;
error?: string;
ok: boolean;
removed?: number;
scope?: string;
} = ...
Type Declaration
-
- (
subject: string,
id: string,
via: string,
): {
already?: boolean;
copies?: number;
error?: string;
ok: boolean;
removed?: number;
scope?: string;
}
-
Parameters
- subject: string
- id: string
- via: string
Returns {
already?: boolean;
copies?: number;
error?: string;
ok: boolean;
removed?: number;
scope?: string;
}
{ ok, already, scope, removed, copies }, or
{ ok: false, error }
Removes one of a person's credentials, or every copy of one issuance: each copy's status-list entry INVALID, its issued-register row revoked, and the copy refused at sign-in.