final |
|---|
readonly |
The canonical login shape (PA-AUTHZ E-09) — the lingua franca the
{@see \LaravelUi5\Sdk\Login\Contracts\LoginProviderInterface} speaks, so the SDK
reads a partner's login state without ever naming the host's users model. A host
adapter maps its auth row into this DTO; the Authorization surface renders one.
loginCounter (0 = never signed in) is the activity read; lastLogin its timestamp;
isLocked / mustChangePassword the governance flags. This is the SDK's own concrete
DTO, never a host User and never provider-shaped.
| Methods | ||
|---|---|---|
public
|
__construct(
int $partnerId,
string $email,
bool $isLocked = false,
?Carbon $lastLogin = null,
int $loginCounter = 0,
bool $mustChangePassword = false,
)
|
# |
public
|
hasEverLoggedIn(): bool
|
# |
| Properties | |||
|---|---|---|---|
public
|
int
|
$partnerId
|
# |
public
|
string
|
$email
|
# |
public
|
bool
|
$isLocked
|
# |
public
|
?Carbon
|
$lastLogin
|
# |
public
|
int
|
$loginCounter
|
# |
public
|
bool
|
$mustChangePassword
|
# |