Skip to content

TokenProviderInterface

Michael edited this page Mar 4, 2017 · 2 revisions
namespace WatsonSDK\Common;

The interface used for standardizing the Watson token provider, which is for getting token from designated service implement by developers. The token provider class must implement this interface in order to interact with Watson services by using token.

interface TokenProviderInterface


To be called before sending requests to Watson services.
>```php
public function getToken();

Clone this wiki locally