Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["# CustomProviderOptions | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [appCheck](/docs/reference/js/v8/firebase.appcheck).\n- CustomProviderOptions\n============================================================================================================================\n\nOptions when creating a CustomProvider.\n\nIndex\n-----\n\n### Properties\n\n- [getToken](/docs/reference/js/v8/firebase.appcheck.CustomProviderOptions#gettoken)\n\nProperties\n----------\n\n### getToken\n\ngetToken: () =\\\u003e Promise\\\u003c[AppCheckToken](/docs/reference/js/v8/firebase.appcheck.AppCheckToken)\\\u003e \nFunction to get an App Check token through a custom provider\nservice. \n\n#### Type declaration\n\n-\n - (): Promise\\\u003c[AppCheckToken](/docs/reference/js/v8/firebase.appcheck.AppCheckToken)\\\u003e\n\n \u003c!-- --\u003e\n\n -\n\n #### Returns Promise\\\u003c[AppCheckToken](/docs/reference/js/v8/firebase.appcheck.AppCheckToken)\\\u003e"]]
Options when creating a CustomProvider.