new AuthorizationRequiredEvent(type, currentExpirationTimestamp)
Sent by the MatsSocket, via the MatsSocket#setAuthorizationExpiredCallback, when it requires new or
revalidated authentication by the client.
Parameters:
Name | Type | Description |
---|---|---|
type |
string | AuthorizationRequiredEvent.type |
currentExpirationTimestamp |
number | AuthorizationRequiredEvent.currentExpirationTimestamp |
- Source:
Members
currentExpirationTimestamp :number
Millis-from-epoch when the current Authorization expires - note that this might well still be in the future,
but the "slack" left before expiration is used up.
Type:
- number
- Source:
type :string
Type of the event, one of AuthorizationRequiredEvent.
Type:
- string
- Source: