Download the PHP package larastuffs/vidyo-token without Composer
On this page you can find all versions of the php package larastuffs/vidyo-token. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download larastuffs/vidyo-token
More information about larastuffs/vidyo-token
Files in larastuffs/vidyo-token
Package vidyo-token
Short Description Generate access tokens for Vidyo.io
License MIT
Homepage https://github.com/LaraStuffs/vidyo-token
Informations about the package vidyo-token
vidyo-token
Generate access tokens for Vidyo.io.
To connect to Vidyo.io, the VidyoClient SDK needs to pass a token. A token is a short-lived authentication credential that grants access to the Vidyo.io service on behalf of the developer to a specific user. When an endpoint requests access to the service, your application backend should generate a token and pass it on to the client application.
Contents
- Installation and setup
- Usage
- Contributing
Installation and setup
You can install this package via composer using:
To publish the config file to config/vidyo.php
run:
Go to config/vidyo.php
and change the value of developer_key
and app_id
for your developer key and application ID.
To do list
- [ ] Accept vCard
Usage
You can use the static method LaraStuffs\VidyoToken\VidyoToken::generate(string $username = null, int $seconds = null): string
to generate the token.
If the arguments are null
, the method gets the values defined in config/vidyo.php
.
Contributing
Contributions are more than welcome. Fork, improve and make a pull request. For bugs, ideas for improvement or other, please create an issue.