UNICORN - server side
静的公開メンバ関数 | 全メンバ一覧
GenericAppReceiptVerifier クラス

静的公開メンバ関数

static isEnabled ($argProductID, $argBase64EncodedReceipt, $argDeviceType, $argSignatureOrSecretKey, $argAutorenewSubscription=FALSE, $argBase64PublicKey=NULL, $argPackageName=NULL, $argClientId=NULL, $argClientSecret=NULL, $argRefreshToken=NULL)
 

関数詳解

static GenericAppReceiptVerifier::isEnabled (   $argProductID,
  $argBase64EncodedReceipt,
  $argDeviceType,
  $argSignatureOrSecretKey,
  $argAutorenewSubscription = FALSE,
  $argBase64PublicKey = NULL,
  $argPackageName = NULL,
  $argClientId = NULL,
  $argClientSecret = NULL,
  $argRefreshToken = NULL 
)
static
引数
string$argProductID課金アイテムID
string$argBase64EncodedReceiptbase64レシート
string$argDeviceTypeデバイス(ios or android)
string$argSignatureOrSecretKeyiOS=シークレットキー Android=base64シグネチャ
boolean$argAutorenewSubscription自動継続購読アイテムフラグ
string$argBase64PublicKeyGoogle用base64公開鍵
string$argPackageNameGoogleレシートチェックAPI用パッケージID
string$argClientIdGoogleレシートチェックAPI用クライアントID
string$argClientSecretGoogleレシートチェックAPI用クライアントシークレット
string$argRefreshTokenGoogleレシートチェックAPI用リフレッシュトークン
戻り値
FALSE|array('last_receipt' => lastreceipt[, 'expired' => bool(FALSE:期限内・有効|TRUE:期限切・無効), 'expire_date' => newexpireddate])

このクラス詳解は次のファイルから抽出されました: