class twitter extends base
Twitter OAuth service
Properties
protected ServiceInterface | $service_provider | External OAuth service provider |
from base |
protected config | $config | ||
protected request_interface | $request |
Methods
Returns the class of external library service provider that has to be used.
Returns the external library service provider once it has been set
Sets the external library service provider
Returns an array containing the service credentials belonging to requested service.
Returns the results of the authentication in json format
Returns the results of the authentication in json format Use this function when the user already has an access token
Details
in
base at line 31
array
get_auth_scope()
Returns an array of the scopes necessary for auth
in
base at line 39
string
get_external_service_class()
Returns the class of external library service provider that has to be used.
in
base at line 47
get_external_service_provider()
Returns the external library service provider once it has been set
in
base at line 55
set_external_service_provider(ServiceInterface $service_provider)
Sets the external library service provider
at line 33
__construct(config $config, request_interface $request)
Constructor.
at line 42
array
get_service_credentials()
Returns an array containing the service credentials belonging to requested service.
at line 53
string
perform_auth_login()
Returns the results of the authentication in json format
at line 98
string
perform_token_auth()
Returns the results of the authentication in json format Use this function when the user already has an access token