AdvancedLearning\Oauth2Server\Services\AuthenticationService
Synopsis
class AuthenticationService
implements
Authenticator
{
- // members
- protected $server;
- // methods
- public void __construct()
- public HTTPRequest authenticate()
- public $this setServer()
- public ResourceServer getServer()
- protected ResourceServer createServer()
- protected void addMissingServerVariables()
Hierarchy
Members
protected
- $server
Methods
protected
- addMissingServerVariables() — Cli is missing some $_SERVER variables.
- createServer() — Create a default ResourceServer. Used if one isn't provided.
public
- __construct() — AuthenticationService constructor.
- authenticate() — Authenticate the request. Adds oauth fields as headers on the request.
- getServer() — Get the ResourceServer.
- setServer() — Override the default ResourceServer.