the provider whose connection (and credentials) every operation uses. In an
Angular component pass this.ProviderToUse, not a global.
Reads the session's current verification state. Use it on (re)connect: session events are not
replayed, so this is how a client that missed identity.verified finds out.
Asks the server to email a one-time link and a typed code to prove control of an address. Subject to
the session's policy and limits; a refusal comes back as Success: false with an ErrorCode.
the outcome; on success VerificationState is pending and ExpiresAt says until when
Redeems the typed code from the verification email (the fallback when the link was opened on another device). Single use; too many wrong codes void the pending verification.
Subscribes to the events addressed to one of the caller's own sessions. Each emission is a validated, typed event; malformed events are dropped (and logged), and events of a type this client version does not know arrive as UnknownRealtimeSessionEvent so a newer server never breaks an older client.
The server refuses the subscription — as an error on the observable — when the session is not the caller's. Unsubscribing tears the subscription down.
Like SubscribeToSessionEvents but narrowed to one known event type, so a handler gets a fully typed payload.
the caller's session
a key of the shared event payload map, e.g. 'identity.verified'
Thin, strongly-typed transport for realtime session verification and session events.