service_interface
interface service_interface
OAuth service interface
Methods
Returns an array of the scopes necessary for auth
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
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
Details
at line 26
array
get_auth_scope()
Returns an array of the scopes necessary for auth
at line 39
array
get_service_credentials()
Returns an array containing the service credentials belonging to requested service.
at line 48
string
perform_auth_login()
Returns the results of the authentication in json format
at line 58
string
perform_token_auth()
Returns the results of the authentication in json format Use this function when the user already has an access token
at line 72
string
get_external_service_class()
Returns the class of external library service provider that has to be used.
at line 77
get_external_service_provider()
Returns the external library service provider once it has been set
at line 84
set_external_service_provider(ServiceInterface $service_provider)
Sets the external library service provider