setSession method

ResponseFuture<SetSessionResponse> setSession(
  1. SetSessionRequest request, {
  2. CallOptions? options,
})

Set Session

Update an existing session with new information like additional checks or metadata or request additional challenges. A new session token will be returned. Note that the previous token will be invalidated.

Required permissions:

  • session.write

Implementation

$grpc.ResponseFuture<$0.SetSessionResponse> setSession(
  $0.SetSessionRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$setSession, request, options: options);
}