final |
|---|
readonly |
Mints and checks the requestState an InputRequiredResult carries across a round trip. The payload travels in the clear and is signed, not encrypted, so a state may hold a
continuation marker but never a secret.
| Methods | ||
|---|---|---|
public
|
__construct(string $secret, string $algorithm = 'sha256')
|
# |
public
static
|
generate(): self
|
# |
public
|
sign(string $payload): string
|
# |
public
|
verify(string $state): ?string
|
# |