UpdatePushFactorPayload

public struct UpdatePushFactorPayload : UpdateFactorPayload

Describes the information required to update a Factor which type is Push

  • sid

    Factor Sid

    Declaration

    Swift

    public let sid: String
  • (Optional) Registration token generated by APNS when registering for remote notifications. Sending nil or empty will disable sending push notifications for challenges associated to this factor.

    Declaration

    Swift

    public let pushToken: String?
  • Creates an UpdatePushFactorPayload with the given parameters

    Declaration

    Swift

    public init(sid: String, pushToken: String?)

    Parameters

    sid

    Factor Sid

    pushToken

    (Optional) Registration token generated by APNS when registering for remote notifications. Sending nil or empty will disable sending push notifications for challenges associated to this factor.