Skip to main content

Crate uvb_push_notifications

Crate uvb_push_notifications 

Source
Expand description

§Push Notification Enhancements

Enterprise-grade secure push notifications to address:

  • Risk #14: OTP delivered over insecure push channels
  • Risk #22: Push approval without contextual info

§Features

  • No OTP in Payload: Only notification IDs/challenge numbers
  • End-to-End Encryption: Encrypted push payloads
  • Rich Context: Device, location, IP, timestamp, app info
  • Number Matching: Display number in app, user enters in push
  • Activity Summary: Recent account activity
  • TLS Client Auth: Certificate-based push client auth
  • Payload Encryption: AES-256-GCM encryption
  • Secure Delivery: No sensitive data in transit

Structs§

ActivitySummary
Recent activity summary
DeviceInfo
Device information
EncryptedPushPayload
Encrypted push payload (what goes over the wire)
InMemoryPushStorage
In-memory storage for testing
LocationInfo
Location information
PushChallenge
Push challenge (for authentication)
PushContext
Push context (rich information)
PushNotificationConfig
Push notification configuration
PushNotificationContent
Push notification content (what user sees)
PushNotificationManager
Push notification manager

Enums§

DeliveryStatus
Push delivery status
DevicePlatform
Device platform for push
PushError
Errors that can occur during push operations
PushProvider
Push notification provider
PushResponse
Push response

Traits§

PushChallengeStorage
Storage trait for push challenges
PushNotificationProvider
Push notification provider trait