PHP 클래스 Auth0\SDK\API\Helpers\TokenGenerator

파일 보기 프로젝트 열기: auth0/auth0-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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