Invalid

The authentication token used so far has become invalid (e.g., it is expired) and the previously authenticated user (who is no longer authenticated) is expected to authenticate again.

In this state, all operations on data that possibly require to be authenticated are paused pending a valid authentication state (Authenticated or Unauthenticated).

Functions

isAuthenticated
Link copied to clipboard
open fun isAuthenticated(): Boolean
isUnauthenticated
Link copied to clipboard
open fun isUnauthenticated(): Boolean

Properties

appId
Link copied to clipboard
abstract val appId: String

Identifier of the WebcomApplication this Notification relates to.

application
Link copied to clipboard
open override val application: WebcomApplication

The WebcomApplication instance this AuthenticationEvent relates to.

data
Link copied to clipboard
open override val data: AuthenticationState.Invalid

The event conveyed by this DataNotification.

details
Link copied to clipboard
open val details: AuthenticationDetails? = null

All the properties that describe the authenticated user if isAuthenticated returns true or null otherwise (no user is authenticated).

path
Link copied to clipboard
abstract val path: String

Path of the data this Notification relates to, or "" if it doesn't relate to any data node.