PHP Класс Auth0\SDK\API\Helpers\TokenGenerator

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$client_id
$client_secret

Открытые методы

Метод Описание
__construct ( $credentials ) TokenGenerator Constructor.
generate ( $scopes, $lifetime = 36000 )

Защищенные методы

Метод Описание
bstr2bin ( $input )
str2hex ( $input )

Описание методов

__construct() публичный Метод

Configuration: - client_id (String) Required. The id of the application, you can get this in the auth0 console - client_secret (String) Required. The application secret, same comment as above
public __construct ( $credentials )

bstr2bin() защищенный Метод

protected bstr2bin ( $input )

generate() публичный Метод

public generate ( $scopes, $lifetime = 36000 )

str2hex() защищенный Метод

protected str2hex ( $input )

Описание свойств

$client_id защищенное свойство

protected $client_id

$client_secret защищенное свойство

protected $client_secret