Represents an authenticates User and contains operations to authorise the user.
Please consult the documentation for a detailed explanation.
package |
Default |
---|
__construct()
clearCache() : $this
$this
the User to enable fluent use
isAuthorised( $arg0, $arg1) : $this
deprecated |
---|
string
callable
$this
isAuthorized( $arg0, $arg1) : $this
string
callable
$this
the User to enable fluent use
principal() : array
For a simple user/password based auth, it's likely to contain a JSON object with the following structure:
{ "username", "tim" }
array
JSON representation of the Principal
setAuthProvider( $arg0) : void
after it has been deserialized.
AuthProvider