@bitblit/ratchet-warden-server
Version:
Typescript library to simplify using simplewebauthn and secondary auth methods over GraphQL
14 lines (13 loc) • 793 B
TypeScript
import { WardenEntry } from "@bitblit/ratchet-warden-common/common/model/warden-entry";
import { WardenContact } from "@bitblit/ratchet-warden-common/common/model/warden-contact";
import { WardenThirdPartyAuthentication } from "@bitblit/ratchet-warden-common/common/model/warden-third-party-authentication";
export declare class WardenEntryBuilder {
private readonly _entry;
constructor(label?: string);
withTags(tags: string[]): WardenEntryBuilder;
withThirdPartyAuthentication(thirdPartyAuthenticators: [WardenThirdPartyAuthentication]): WardenEntryBuilder;
withLabel(label: string): WardenEntryBuilder;
withLabelFromContact(contact: WardenContact): WardenEntryBuilder;
withContacts(contacts: [WardenContact]): WardenEntryBuilder;
get entry(): WardenEntry;
}