Skip to content

redmix0901/google-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sử dụng

$name = Tương ứng trong file config, ví dụ bạn muốn tạo 1 google client bằng tài khoản A, thì đặt tên google_a = thông tin của tài khoản A (bao gồm credentials, scopes, và đường dẫn lưu token)

use Redmix0901\GoogleToken\Facades\Goten;

$google_client = Goten::use($name)->getClient();

Trước khi sử dụng hãy lưu ý chạy lệnh sau để lấy token

php artisan goten:get-token google_a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages