Stay organized with collections
Save and categorize content based on your preferences.
Google.Play.Integrity.StandardIntegrityTokenProvider
Standard integrity token provider.
Summary
Response of StandardIntegrityManager.PrepareIntegrityToken call.
Public functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-05-02 UTC.
[[["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-02 UTC."],[],[],null,["# Google.Play.Integrity.StandardIntegrityTokenProvider Class Reference\n\nGoogle.Play.Integrity.StandardIntegrityTokenProvider\n====================================================\n\nStandard integrity token provider.\n\nSummary\n-------\n\nResponse of [StandardIntegrityManager.PrepareIntegrityToken](/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974) call.\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Request](#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider_1aca1ca5d90d376bbfe020a513019581ea)`(`[StandardIntegrityTokenRequest](/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenRequest)` request)` | `PlayAsyncOperation\u003c `[StandardIntegrityToken](/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken)`, `[StandardIntegrityErrorCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0)` \u003e` Returns a token for integrity-related enquiries. |\n\nPublic functions\n----------------\n\n### Request\n\n```c#\nPlayAsyncOperation\u003c StandardIntegrityToken, StandardIntegrityErrorCode \u003e Request(\n StandardIntegrityTokenRequest request\n)\n``` \nReturns a token for integrity-related enquiries.\n\nThis must be called only after [StandardIntegrityManager.PrepareIntegrityToken](/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974) completes.\n\nNote that the API is in beta mode.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |-----------|---------------------------------------------| | `request` | the object to request integrity token with. | |\n| **Returns** | A PlayAsyncOperation{StandardIntegrityToken, StandardIntegrityErrorCode} that returns [StandardIntegrityToken](/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken) on successful callback or [StandardIntegrityErrorCode](/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0) on failure callback. |"]]