Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
application
/
vendor
/
braintree
/
braintree_php
/
lib
/
Braintree
:
ClientToken.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Braintree; class ClientToken { const DEFAULT_VERSION = 2; // static methods redirecting to gateway /** * * @param array $params * @return string */ public static function generate($params=[]) { return Configuration::gateway()->clientToken()->generate($params); } /** * * @param type $params * @throws InvalidArgumentException */ public static function conditionallyVerifyKeys($params) { return Configuration::gateway()->clientToken()->conditionallyVerifyKeys($params); } /** * * @return string client token retrieved from server */ public static function generateWithCustomerIdSignature() { return Configuration::gateway()->clientToken()->generateWithCustomerIdSignature(); } /** * * @return string client token retrieved from server */ public static function generateWithoutCustomerIdSignature() { return Configuration::gateway()->clientToken()->generateWithoutCustomerIdSignature(); } }