__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Packback\Lti1p3;
use Packback\Lti1p3\Interfaces\ILtiRegistration;
class LtiRegistration implements ILtiRegistration
{
private ?string $issuer;
private ?string $clientId;
private ?string $keySetUrl;
private ?string $authTokenUrl;
private ?string $authLoginUrl;
private ?string $authServer;
private ?string $toolPrivateKey;
private ?string $kid;
public function __construct(?array $registration = null)
{
$this->issuer = $registration['issuer'] ?? null;
$this->clientId = $registration['clientId'] ?? null;
$this->keySetUrl = $registration['keySetUrl'] ?? null;
$this->authTokenUrl = $registration['authTokenUrl'] ?? null;
$this->authLoginUrl = $registration['authLoginUrl'] ?? null;
$this->authServer = $registration['authServer'] ?? null;
$this->toolPrivateKey = $registration['toolPrivateKey'] ?? null;
$this->kid = $registration['kid'] ?? null;
}
public static function new(?array $registration = null): self
{
return new LtiRegistration($registration);
}
public function getIssuer()
{
return $this->issuer;
}
public function setIssuer(string $issuer): self
{
$this->issuer = $issuer;
return $this;
}
public function getClientId()
{
return $this->clientId;
}
public function setClientId(string $clientId): self
{
$this->clientId = $clientId;
return $this;
}
public function getKeySetUrl(): ?string
{
return $this->keySetUrl;
}
public function setKeySetUrl(?string $keySetUrl): self
{
$this->keySetUrl = $keySetUrl;
return $this;
}
public function getAuthTokenUrl(): ?string
{
return $this->authTokenUrl;
}
public function setAuthTokenUrl(?string $authTokenUrl): self
{
$this->authTokenUrl = $authTokenUrl;
return $this;
}
public function getAuthLoginUrl(): ?string
{
return $this->authLoginUrl;
}
public function setAuthLoginUrl(?string $authLoginUrl): self
{
$this->authLoginUrl = $authLoginUrl;
return $this;
}
public function getAuthServer(): ?string
{
return $this->authServer ?? $this->authTokenUrl;
}
public function setAuthServer(?string $authServer): self
{
$this->authServer = $authServer;
return $this;
}
public function getToolPrivateKey()
{
return $this->toolPrivateKey;
}
public function setToolPrivateKey(string $toolPrivateKey): self
{
$this->toolPrivateKey = $toolPrivateKey;
return $this;
}
public function getKid()
{
return $this->kid ?? hash('sha256', trim($this->issuer.$this->clientId));
}
public function setKid(string $kid): self
{
$this->kid = $kid;
return $this;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Concerns | Folder | 0777 |
|
|
| DeepLinkResources | Folder | 0777 |
|
|
| Helpers | Folder | 0777 |
|
|
| Interfaces | Folder | 0777 |
|
|
| MessageValidators | Folder | 0777 |
|
|
| JwksEndpoint.php | File | 1.42 KB | 0777 |
|
| Lti1p1Key.php | File | 1.44 KB | 0777 |
|
| LtiAbstractService.php | File | 1.37 KB | 0777 |
|
| LtiAssignmentsGradesService.php | File | 6.73 KB | 0777 |
|
| LtiConstants.php | File | 7.77 KB | 0777 |
|
| LtiCourseGroupsService.php | File | 2 KB | 0777 |
|
| LtiDeepLink.php | File | 1.44 KB | 0777 |
|
| LtiDeployment.php | File | 556 B | 0777 |
|
| LtiException.php | File | 92 B | 0777 |
|
| LtiGrade.php | File | 4.01 KB | 0777 |
|
| LtiGradeSubmissionReview.php | File | 1.75 KB | 0777 |
|
| LtiLineitem.php | File | 3.46 KB | 0777 |
|
| LtiMessageLaunch.php | File | 17.85 KB | 0777 |
|
| LtiNamesRolesProvisioningService.php | File | 976 B | 0777 |
|
| LtiOidcLogin.php | File | 3.54 KB | 0777 |
|
| LtiRegistration.php | File | 2.88 KB | 0777 |
|
| LtiServiceConnector.php | File | 7.59 KB | 0777 |
|
| OidcException.php | File | 93 B | 0777 |
|
| ServiceRequest.php | File | 4.53 KB | 0777 |
|