Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Use new names for renamed classes #163

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Authenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use SilverStripe\Core\Environment;
use SilverStripe\Core\Injector\Injectable;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\ORM\ValidationResult;
use SilverStripe\Core\Validation\ValidationResult;
use SilverStripe\RealMe\Authenticator\LoginHandler as RealMeLoginHandler;
use SilverStripe\Security\Authenticator as AuthenticatorInterface;
use SilverStripe\Security\Member;
Expand Down
2 changes: 1 addition & 1 deletion src/Authenticator/LoginForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use SilverStripe\RealMe\RealMeService;
use SilverStripe\Security\LoginForm as BaseLoginForm;
use SilverStripe\SiteConfig\SiteConfig;
use SilverStripe\View\ArrayData;
use SilverStripe\Model\ArrayData;
use SilverStripe\View\Requirements;

class LoginForm extends BaseLoginForm
Expand Down
4 changes: 2 additions & 2 deletions src/Model/FederatedIdentity.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use DOMXPath;

use SilverStripe\ORM\FieldType\DBField;
use SilverStripe\View\ViewableData;
use SilverStripe\Model\ModelData;
use SilverStripe\ORM\FieldType\DBDatetime;

/**
Expand All @@ -28,7 +28,7 @@
*
* - See this object's constructor for the XML / DOMDocument object expected to be passed during instantiation.
*/
class FederatedIdentity extends ViewableData
class FederatedIdentity extends ModelData
{
const SOURCE_XML = 'urn:nzl:govt:ict:stds:authn:safeb64:attribute:igovt:IVS:Assertion:Identity';
const SOURCE_JSON = 'urn:nzl:govt:ict:stds:authn:safeb64:attribute:igovt:IVS:Assertion:JSON:Identity';
Expand Down
4 changes: 2 additions & 2 deletions src/Model/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\RealMe\Extension\MemberExtension;
use SilverStripe\RealMe\RealMeService;
use SilverStripe\Security\Member;
use SilverStripe\View\ArrayData;
use SilverStripe\Model\ArrayData;

/**
* Class RealMeUser
Expand Down Expand Up @@ -55,7 +55,7 @@ public function isAuthenticated()

/**
* @return Member
* @throws \SilverStripe\ORM\ValidationException
* @throws \SilverStripe\Core\Validation\ValidationException
*/
public function getMember()
{
Expand Down
Loading