|
| __construct (IDatabase $database, ICache $cache=null, ICookie $cookie=null) |
|
| doOidcLoginRedirect ($launch_url, array $request=null) |
| Calculate the redirect location to return to based on an OIDC third party initiated login request.
|
|
| validateOidcLogin ($request) |
|
|
static | new (IDatabase $database, ICache $cache=null, ICookie $cookie=null) |
| Static function to allow for method chaining without having to assign to a variable first.
|
|
static | secureRandomString (string $prefix='') |
|
|
const | COOKIE_PREFIX = 'lti1p3_' |
|
const | ERROR_MSG_ISSUER = 'Could not find issuer' |
|
const | ERROR_MSG_LAUNCH_URL = 'No launch URL configured' |
|
const | ERROR_MSG_LOGIN_HINT = 'Could not find login hint' |
|
◆ doOidcLoginRedirect()
Packback\Lti1p3\LtiOidcLogin::doOidcLoginRedirect |
( |
| $launch_url, |
|
|
array | $request = null ) |
Calculate the redirect location to return to based on an OIDC third party initiated login request.
- Parameters
-
string | $launch_url | URL to redirect back to after the OIDC login. This URL must match exactly a URL white listed in the platform. |
array | string | $request | An array of request parameters. If not set will default to $_REQUEST. |
- Return values
-
Redirect | returns a redirect object containing the fully formed OIDC login URL |
The documentation for this class was generated from the following file:
- lib/lti1p3/src/LtiOidcLogin.php