Skip to content

Commit

Permalink
API Use new names for renamed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 17, 2024
1 parent c3ae8f8 commit 0e5c4a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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

0 comments on commit 0e5c4a6

Please sign in to comment.