Something went wrong. Try again.
Laravel AT Protocol Client (alpha & unstable)
Something went wrong. Try again.
515 B · 28 lines
PHP
at dev
1234567891011121314151617181920212223242526272829<?php
namespace SocialDept\AtpClient\Contracts;
use SocialDept\AtpClient\Data\DPoPKey;
interface KeyStore{ /** * Store DPoP key for session */ public function store(string $sessionId, DPoPKey $key): void;
/** * Retrieve DPoP key */ public function get(string $sessionId): ?DPoPKey;
/** * Delete DPoP key */ public function delete(string $sessionId): void;
/** * Check if key exists */ public function exists(string $sessionId): bool;}