Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
namespace Aws\Token;
3
 
4
/**
5
 * Provides access to an AWS token used for accessing AWS services
6
 *
7
 */
8
interface RefreshableTokenProviderInterface
9
{
10
    /**
11
     * Attempts to refresh this token object
12
     *
13
     * @return Token | Exception
14
     */
15
    public function refresh();
16
 
17
    /**
18
     * Check if a refresh should be attempted
19
     *
20
     * @return boolean
21
     */
22
    public function shouldAttemptRefresh();
23
}