21 lines
350 B
PHP
Executable file
21 lines
350 B
PHP
Executable file
<?php
|
|
|
|
|
|
namespace Twilio\Jwt\Grants;
|
|
|
|
|
|
interface Grant {
|
|
/**
|
|
* Returns the grant type
|
|
*
|
|
* @return string type of the grant
|
|
*/
|
|
public function getGrantKey(): string;
|
|
|
|
/**
|
|
* Returns the grant data
|
|
*
|
|
* @return array data of the grant
|
|
*/
|
|
public function getPayload(): array;
|
|
}
|