Ntb\RestAPI\OAuth\SessionValidatorWithSocial
Replaces the default REST api validator to allow social tokens or email/password
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class SessionValidatorWithSocial
implements
IRestValidator
{
- // methods
- public static array validate()
Hierarchy
Implements
- Ntb\RestAPI\IRestValidator
Methods
public
- validate() — Validates the given data and returns a mapped version back to the caller.