PushMechanism
public class PushMechanism : Mechanism
PushMechanism represents PushNotification-based OTP Auth and is responsible for its related operation
-
PushNotification(s) objects associated with current PushMechanism
Declaration
Swift
public var notifications: [PushNotification]
-
An array of all current PushNotification that are pending
Declaration
Swift
public var pendingNotifications: [PushNotification] { get }
-
Declaration
Swift
override public class var supportsSecureCoding: Bool { get }
-
Declaration
Swift
override public func encode(with coder: NSCoder)
-
Declaration
Swift
public required convenience init?(coder: NSCoder)
-
Declaration
Swift
public override func encode(to encoder: Encoder) throws
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Serializes
PushMechanism
object into JSON String.Declaration
Swift
public func toJson() -> String?
Return Value
JSON String value of
PushMechanism
object