Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Releases: pascalboucher/laravel-chatkit-api

v0.2.1

20 Jun 21:09
c539763
Compare
Choose a tag to compare

Removed unnecessary logger

v0.2.0

12 Jun 21:44
134e3f6
Compare
Choose a tag to compare

In this version, I added the ability to access the jwt directly. It can be useful when working with pusher client SDKs since they often ask to provide a token provider

Here's a quick example on how you can get a token directly

Route::get('chatkit/api/get-token', function () {
    $token = Chatkit::getToken($userId);

    // or for sudo tokens
    $token = Chatkit::getSudoToken($userId);

    dd($token);
});

v0.1.0

11 Jun 19:21
Compare
Choose a tag to compare

Laravel chatkit api initial release