분류
php
Auth0 인증 및 관리 API 엔드 포인트에 액세스하기 위한 간단하고 테스트 된 메소드
본문
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', ]);
- 이전글Auth0-PHP 21.01.04
- 다음글PHP-CRUD-API 21.01.02