Overview

Namespaces

  • CRUDlex

Classes

  • CRUDUser
  • CRUDUserProvider
  • CRUDUserSetup
  • Overview
  • Namespace
  • Class

Class CRUDUser

The UserInterface implementation for the UserProvider.

CRUDlex\CRUDUser implements Symfony\Component\Security\Core\User\UserInterface
Namespace: CRUDlex
Located at CRUDUser.php
Methods summary
public
# __construct( string $username, string $password, string $salt, array $roles )

Constructor.

Constructor.

Parameters

$username
the username
$password
the password (hash)
$salt
the password hash salt
$roles
the roles
public array
# getRoles( )

Gets the roles.

Gets the roles.

Returns

array
the roles
public string
# getPassword( )

Gets the password (hash).

Gets the password (hash).

Returns

string
the password
public string
# getSalt( )

Gets the password hash salt.

Gets the password hash salt.

Returns

string
the salt
public string
# getUsername( )

Gets the username.

Gets the username.

Returns

string
the username
public
# eraseCredentials( )

Should erase some crucial data if needed. But nothing to do here in this implementation.

Should erase some crucial data if needed. But nothing to do here in this implementation.

CRUDlexUser API API documentation generated by ApiGen