Interface ISecurity

interface ISecurity {
    mac: {
        checkScreenCapturePermission: () => Promise<boolean>;
        requestScreenCapturePermission: () => Promise<boolean>;
        resetPermission: (
            privacyOption:
                | "ScreenCapture"
                | "Camera"
                | "Microphone"
                | "Accessibility"
                | "AllFiles",
        ) => Promise<void>;
        revealSecurityPane: (
            privacyOption?:
                | "ScreenCapture"
                | "Camera"
                | "Microphone"
                | "Accessibility"
                | "AllFiles",
        ) => Promise<void>;
        verifyFingerprint: () => Promise<boolean>;
    };
}

Properties

Properties

mac: {
    checkScreenCapturePermission: () => Promise<boolean>;
    requestScreenCapturePermission: () => Promise<boolean>;
    resetPermission: (
        privacyOption:
            | "ScreenCapture"
            | "Camera"
            | "Microphone"
            | "Accessibility"
            | "AllFiles",
    ) => Promise<void>;
    revealSecurityPane: (
        privacyOption?:
            | "ScreenCapture"
            | "Camera"
            | "Microphone"
            | "Accessibility"
            | "AllFiles",
    ) => Promise<void>;
    verifyFingerprint: () => Promise<boolean>;
}