/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"nsISupports.idl"
interface mozIDOMWindow;
[scriptable, uuid(4fe082ae-6ff0-4b41-b24f-eaa664f6e46a)]
interface nsIOSReauthenticator: nsISupports { /** *Thisinterfaceprovidesanabstractwaytorequestthattheuser *reauthenticatethemselvestotheoperatingsystem.Itmaybeusefulin *conjunctionwithnsIOSKeyStore,wherebyconsumersoftheseAPIsmay *considersomesecretstoosensitivetoaccesswithoutfirst *reauthenticatingtheuser. * *Usage: * *// obtain the singleton nsIOSReauthenticator instance *constreauthenticator=Cc["@mozilla.org/security/osreauthenticator;1"] *.getService(Ci.nsIOSReauthenticator); *if(awaitreauthenticator.asyncReauthenticate()){ *// do something only authenticated users are allowed to do... *}else{ *// show a "sorry, this isn't allowed" error *}
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.