NotificationExpiredException

class NotificationExpiredException(val notificationId: String, val ttlSeconds: Int, cause: Throwable? = null) : MfaException

Exception thrown when attempting to approve or deny an expired push notification.

This exception is thrown when a notification has exceeded its time-to-live (TTL) and the user attempts to approve or deny it. The notification is considered expired when the elapsed time since creation exceeds the TTL value.

Parameters

notificationId

The ID of the expired notification.

ttlSeconds

The time-to-live in seconds that was configured for the notification.

cause

The underlying cause of the exception.

Constructors

Link copied to clipboard
constructor(notificationId: String, ttlSeconds: Int, cause: Throwable? = null)

Properties

Link copied to clipboard
Link copied to clipboard