refine claim certificate view

This commit is contained in:
2024-12-18 16:05:43 -07:00
parent 4646502960
commit 6749c1ec2d
3 changed files with 98 additions and 35 deletions

View File

@@ -476,6 +476,16 @@ export function didInfo(
return didInfoForContact(did, activeDid, contact, allMyDids).displayName;
}
/**
* return text description without any references to "you" as user
*/
export function didInfoForCertificate(
did: string | undefined,
contacts: Contact[],
): string {
return didInfoForContact(did, undefined, contactForDid(did, contacts), []).displayName;
}
let passkeyAccessToken: string = "";
let passkeyTokenExpirationEpochSeconds: number = 0;