AuthenticationService
Namespace
IO\Services
Type | Name | Description |
---|---|---|
|
||
|
||
|
||
|
Methods
public __construct($contactAuthRepository, $sessionStorage)
AuthenticationService constructor.
Type |
Name |
Description |
|
||
|
public login($email, $password):int
Perform the login with email and password
Type |
Name |
Description |
|
||
|
public loginWithContactId($contactId, $password)
Perform the login with customer ID and password
Type |
Name |
Description |
|
||
|
public logout()
Log out the customer
public checkPassword($password):bool
Type |
Name |
Description |
|
public isLoggedIn():bool
Thank you for your feedback!