Stay organized with collections
Save and categorize content based on your preferences.
Firebase.AppCheck.IAppCheckProvider
Interface for a provider that generates AppCheckTokens.
Summary
This provider can be called at any time by any Firebase library that depends (optionally or otherwise) on AppCheckTokens. This provider is responsible for determining if it can create a new token at the time of the call and returning that new token if it can.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-05-09 UTC."],[],[],null,["# Firebase.AppCheck.IAppCheckProvider Interface Reference\n\nFirebase.AppCheck.IAppCheckProvider\n===================================\n\nInterface for a provider that generates [AppCheckToken](/docs/reference/unity/struct/firebase/app-check/app-check-token#struct_firebase_1_1_app_check_1_1_app_check_token)s.\n\nSummary\n-------\n\nThis provider can be called at any time by any [Firebase](/docs/reference/unity/namespace/firebase#namespace_firebase) library that depends (optionally or otherwise) on [AppCheckToken](/docs/reference/unity/struct/firebase/app-check/app-check-token#struct_firebase_1_1_app_check_1_1_app_check_token)s. This provider is responsible for determining if it can create a new token at the time of the call and returning that new token if it can.\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetTokenAsync](#interface_firebase_1_1_app_check_1_1_i_app_check_provider_1a1baff1bfe9f974bb4fdd71cb7658f16b)`()` | `System.Threading.Tasks.Task\u003c `[AppCheckToken](/docs/reference/unity/struct/firebase/app-check/app-check-token#struct_firebase_1_1_app_check_1_1_app_check_token)` \u003e` Returns an [AppCheckToken](/docs/reference/unity/struct/firebase/app-check/app-check-token#struct_firebase_1_1_app_check_1_1_app_check_token) or throws an exception with an error code and error message. |\n\nPublic functions\n----------------\n\n### GetTokenAsync\n\n```c#\nSystem.Threading.Tasks.Task\u003c AppCheckToken \u003e GetTokenAsync()\n``` \nReturns an [AppCheckToken](/docs/reference/unity/struct/firebase/app-check/app-check-token#struct_firebase_1_1_app_check_1_1_app_check_token) or throws an exception with an error code and error message."]]