completeAuth

View Source

Summary

Rotates the current session id and returns the fresh session for auth writes.

Signature

function completeAuth<context extends RequestContext<any, any>>(
  context: context,
): Session;

Params

context

Returns

The current session after its id has been regenerated.