Ntb\RestAPI\OAuth\SocialMemberAuthenticator
Overrides the default authenticator to allow either Email and Password OR Token, AuthService, and UserID.
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class SocialMemberAuthenticator
extends MemberAuthenticator
{
- // members
- private static array $social_services = ;
- private static bool $allow_login_to_connect = true;
- // methods
- public static bool validate_token()
- public static array get_profile()
- public static bool|ISocialApi get_service_api()
- protected static Member authenticate_member()
- public static string get_name()
Hierarchy
Extends
- MemberAuthenticator
Members
private
- $allow_login_to_connect — Ntb\RestAPI\OAuth\bool
Methods
protected
- authenticate_member() — Attempt to find and authenticate member if possible from the given data
public
- get_name() — Get the name of the authentication method
- get_profile()
- get_service_api()
- validate_token()