DiscordPHP Documentation

TokenStore

Table of Contents

Interfaces

TokenStoreInterface
Where users' OAuth2 tokens are kept between restarts.

Classes

ArrayTokenStore
Keeps tokens in memory, for as long as the process runs.
CacheTokenStore
Keeps tokens in a ReactPHP or PSR-16 cache — Redis, for instance.
On this page

Search results