HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/cwd/wp-content/plugins/updraftplus/includes/Dropbox2/OAuth/Storage/StorageInterface.php
<?php

/**
 * OAuth storage handler interface
 * @author Ben Tadiar <ben@handcraftedbyben.co.uk>
 * @link https://github.com/benthedesigner/dropbox
 * @package Dropbox\OAuth
 * @subpackage Storage
 */

interface Dropbox_StorageInterface
{
    /**
     * Get a token by type
     * @param string $type Token type to retrieve
     */
    public function get($type);
    
    /**
     * Set a token by type
     * @param \stdClass $token Token object to set
     * @param string $type Token type
     */
    public function set($token, $type);
    
    /**
     * Delete tokens for the current session/user
     */
    public function delete();
}