HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/vfconf/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();
}