댓글 검색 목록

[php] Auth0 인증 및 관리 API 엔드 포인트에 액세스하기 위한 간단하고 테스트 된 메소드

페이지 정보

작성자 운영자 작성일 21-01-04 17:55 조회 849 댓글 0

Auth0 PHP SDK는 인증 및 관리 API 엔드 포인트에 액세스하기 위한 간단하고 테스트 된 방법을 제공합니다. 이 README는 시작하는 방법을 설명하고 SDK 사용 방법에 대한 간단한 예를 제공합니다.


https://github.com/auth0/auth0-PHP


설치 


Composer와 함께 SDK를 설치하는 것이 좋습니다.


$ composer require auth0/auth0-php
// Instantiate the base Auth0 class.
$auth0 = new Auth0([
	// The values below are found on the Application settings tab.
	'domain' => 'your-tenant.auth0.com',
	'client_id' => 'application_client_id',
	'client_secret' => 'application_client_secret',

	// This is your application URL that will be used to process the login.
	// Save this URL in the "Allowed Callback URLs" field on the Application settings tab
	'redirect_uri' => 'https://yourdomain.com/auth/callback',
]);


댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.