# media-cloud-sync/1.2.13/includes/sdk/s3/Aws/Token/TokenInterface.php

Media Cloud Sync, version 1.2.13. 35 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.2.13/code/includes/sdk/s3/Aws/Token/TokenInterface.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.2.13/raw/includes/sdk/s3/Aws/Token/TokenInterface.php
- Modified: 2025-08-17T07:09:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.2.13/code/includes/sdk/s3/Aws/Token/TokenInterface.php#L10-L20`.

```php
<?php

namespace Dudlewebs\WPMCS\s3\Aws\Token;

/**
 * Provides access to an AWS token used for accessing AWS services
 */
interface TokenInterface
{
    /**
     * Returns the token this token object.
     *
     * @return string
     */
    public function getToken();
    /**
     * Get the UNIX timestamp in which the token will expire
     *
     * @return int|null
     */
    public function getExpiration();
    /**
     * Check if the token are expired
     *
     * @return bool
     */
    public function isExpired();
    /**
     * Converts the token to an associative array.
     *
     * @return array
     */
    public function toArray();
}

```
