first commit -> move some files from one-api

This commit is contained in:
2026-05-06 13:37:10 +07:00
parent a3144382c5
commit 55c6ed9779
7940 changed files with 628870 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace 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();
}