-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings.php
More file actions
16 lines (12 loc) · 845 Bytes
/
settings.php
File metadata and controls
16 lines (12 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
const CLIENT_ID = 'YOUR_CLIENT_ID';
const CLIENT_SECRET = 'YOUR_CLIENT_SECRET';
const REDIRECT_URI = 'http://localhost/slc-classview-php'; // This must match your app settings in SLC App Registration exactly!
const AUTHORIZATION_ENDPOINT = 'https://api.sandbox.slcedu.org/api/oauth/authorize';
const TOKEN_ENDPOINT = 'https://api.sandbox.slcedu.org/api/oauth/token';
// Note: Windows PHP instances have issues with the SSL certificate that is returned from the sandbox.
// If you are running Windows against the sandbox, you may want to switch the flag below to TRUE.
// Use at your own risk and ONLY in sandbox (not production) usages of the API. In production,
// please fix the issue with CA certifications on your server and set this flag to FALSE.
const DISABLE_SSL_CHECKS = FALSE;
?>