Back to Firebase Js Sdk

CustomProviderOptions interface

docs-devsite/app-check.customprovideroptions.md

12.12.11.0 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

CustomProviderOptions interface

Options when creating a CustomProvider<!-- -->.

<b>Signature:</b>

typescript
export interface CustomProviderOptions 

Properties

PropertyTypeDescription
getToken() => Promise<AppCheckToken<!-- -->>Function to get an App Check token through a custom provider service.

CustomProviderOptions.getToken

Function to get an App Check token through a custom provider service.

<b>Signature:</b>

typescript
getToken: () => Promise<AppCheckToken>;