Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Packback\Lti1p3\LtiOidcLogin Class Reference

Public Member Functions

 __construct (public IDatabase $db, public ICache $cache, public ICookie $cookie)
 
 getAuthParams (string $launchUrl, string $clientId, array $request)
 
 getRedirectUrl (string $launchUrl, array $request)
 Calculate the redirect location to return to based on an OIDC third party initiated login request.
 
 validateOidcLogin (array $request)
 

Static Public Member Functions

static new (IDatabase $db, ICache $cache, ICookie $cookie)
 
static secureRandomString (string $prefix='')
 

Public Attributes

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'
 

The documentation for this class was generated from the following file: