final | |
|---|---|
readonly | |
implements |
TokenStoreInterface |
Token store that persists its tokens to one file, encrypted with XChaCha20-Poly1305.
| Methods | ||
|---|---|---|
public
|
__construct(non-empty-string $path, non-empty-string $key)
|
# |
public
|
read(string $resource): ?AccessToken
|
# |
public
|
write(string $resource, AccessToken $token): void
|
# |
public
|
forget(string $resource): void
|
# |