VerifyPurchaseHorizonOptions class
Meta Horizon (Quest) verification parameters. Used for server-side entitlement verification via Meta's S2S API. POST https://graph.oculus.com/$APP_ID/verify_entitlement
⚠️ SECURITY: Contains sensitive token (accessToken). Do not log or persist this data.
Constructors
- VerifyPurchaseHorizonOptions({required String accessToken, required String sku, required String userId})
-
const
-
VerifyPurchaseHorizonOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accessToken → String
-
Access token for Meta API authentication (OC|$APP_ID|$APP_SECRET or User Access Token).
⚠️ Sensitive: Do not log this value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sku → String
-
The SKU for the add-on item, defined in Meta Developer Dashboard
final
- userId → String
-
The user ID of the user whose purchase you want to verify
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited