From 55b77bead579b7efc5ecef11e127966c74c2dfbb Mon Sep 17 00:00:00 2001 From: Radu Topala Date: Thu, 28 Apr 2016 19:51:31 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 470b985..a9ce45e 100644 --- a/README.md +++ b/README.md @@ -56,4 +56,8 @@ php skype.phar auth php skype.phar conversation:activity ``` +##Tips + - If used as a library, the HTTP Guzzle Client will automatically try to re-authenticate using a Guzzle middleware, if the `access_token` will expire in the following 10 minutes. + - If used as a phar, you can update it to latest version using `skype.phar self-update` + More docs to come soon. From 16314070e5bf47865f4f555ba40fd167d6de6be3 Mon Sep 17 00:00:00 2001 From: Radu Topala Date: Thu, 28 Apr 2016 19:58:17 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index a9ce45e..37576be 100644 --- a/README.md +++ b/README.md @@ -59,5 +59,14 @@ php skype.phar conversation:activity ##Tips - If used as a library, the HTTP Guzzle Client will automatically try to re-authenticate using a Guzzle middleware, if the `access_token` will expire in the following 10 minutes. - If used as a phar, you can update it to latest version using `skype.phar self-update` + - If used as a library, you can store the token configs in your own preffered file path, as follows: + + ``` + $client = new Client([ + 'clientId' => '', + 'clientSecret' => '', + 'fileTokenStoragePath' => '', + ]); + ``` More docs to come soon.