AuthError

AuthError means that an authentication error occurred. Published for AuthErrorMethod.Watch/AuthErrorMethod.Broadcast on ErrUnauthenticated, and -- new as of this document's push-pull path -- for AuthErrorMethod.PushPull on ErrPermissionDenied (an authorization webhook denial, distinct from an unauthenticated token): published once per denial EPISODE, not once per sync-loop tick, and only shouldRefreshToken-free (this path never asks for a token refresh, since the token itself was accepted). An episode ends only on the next push-pull that SUCCEEDS on this attachment; a different failure (e.g. a transient RESOURCE_EXHAUSTED) in between does not clear it or re-publish.

Constructors

Link copied to clipboard
constructor(reason: String, method: Document.Event.AuthError.AuthErrorMethod)

Properties

Link copied to clipboard