Debian Codegraph @

lib/3rdParty/composer/aws/aws-sdk-php/src/Token/TokenInterface.php

raw symbols SCIP
1 <?php
2 namespace Aws\Token;
3
4 /**
5 * Provides access to an AWS token used for accessing AWS services
6 */
7 interface TokenInterface
8 {
9 /**
10 * Returns the token this token object.
11 *
12 * @return string
13 */
14 public function getToken();
15
16 /**
17 * Get the UNIX timestamp in which the token will expire
18 *
19 * @return int|null
20 */
21 public function getExpiration();
22
23 /**
24 * Check if the token are expired
25 *
26 * @return bool
27 */
28 public function isExpired();
29
30 /**
31 * Converts the token to an associative array.
32 *
33 * @return array
34 */
35 public function toArray();
36 }