PHP Interface Webiny\Component\Security\User\UserInterface

Every user provider User class must implement this interface.
Show file Open project: Webiny/Framework

Public Methods

Method Description
getPassword ( ) : string
getRoles ( ) : array Get a list of assigned roles
getUsername ( ) : string

Method Details

getPassword() public method

public getPassword ( ) : string
return string Hashed password.

getRoles() public method

Get a list of assigned roles
public getRoles ( ) : array
return array List of assigned roles.

getUsername() public method

public getUsername ( ) : string
return string Username.