Skip to content

Commit 1631407

Browse files
committed
Update README.md
1 parent 55b77be commit 1631407

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,14 @@ php skype.phar conversation:activity <to> <message>
5959
##Tips
6060
- 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.
6161
- If used as a phar, you can update it to latest version using `skype.phar self-update`
62+
- If used as a library, you can store the token configs in your own preffered file path, as follows:
63+
64+
```
65+
$client = new Client([
66+
'clientId' => '<yourClientId>',
67+
'clientSecret' => '<yourClientSecret>',
68+
'fileTokenStoragePath' => '<yourOwnPath>',
69+
]);
70+
```
6271

6372
More docs to come soon.

0 commit comments

Comments
 (0)