KMP PHP API Reference

OfflineIdentity
in package

FinalYes

Opaque current actor binding for private offline snapshots and replay.

Table of Contents

Methods

bind()  : Response
Attach the actor that produced this response, preventing A/B/A snapshot races.
context()  : array<string, mixed>|null
matches()  : bool

Methods

bind()

Attach the actor that produced this response, preventing A/B/A snapshot races.

public static bind(Response $response, ServerRequest $request) : Response
Parameters
$response : Response
$request : ServerRequest
Return values
Response

context()

public static context(ServerRequest $request) : array<string, mixed>|null
Parameters
$request : ServerRequest
Return values
array<string, mixed>|null

matches()

public static matches(ServerRequest $request, array<string, mixed> $data) : bool
Parameters
$request : ServerRequest
$data : array<string, mixed>

Posted expected actor, never an authorization grant.

Return values
bool
On this page

Search results