PingAMPushResponderType
public protocol PingAMPushResponderType : Sendable
Protocol defining the operations required to respond to PingAM push notifications.
This protocol is implemented by PingAMPushResponder and can be mocked for testing
purposes.
-
register(credential:Asynchronousparams: ) Declaration
Swift
@discardableResult func register(credential: PushCredential, params: [String : Any]) async throws -> Bool -
Declaration
Swift
@discardableResult func sendAuthenticationResponse( credential: PushCredential, notification: PushNotification, approve: Bool, numbersChallengeResponse: String? ) async throws -> Bool -
Declaration
Swift
@discardableResult func updateDeviceToken( credential: PushCredential, deviceToken: String, deviceName: String? ) async throws -> Bool
View on GitHub