UpdatePushChallengePayload

public struct UpdatePushChallengePayload : UpdateChallengePayload

Describes the information required to update a Push Challenge

  • Sid of the Factor to which the Challenge is related

    Declaration

    Swift

    public let factorSid: String
  • Sid of the Challenge to be updated

    Declaration

    Swift

    public let challengeSid: String
  • New status of the Challenge

    Declaration

    Swift

    public let status: ChallengeStatus
  • Creates an UpdatePushChallengePayload with the given parameters

    Declaration

    Swift

    public init(
      factorSid: String,
      challengeSid: String,
      status: ChallengeStatus
    )

    Parameters

    factorSid

    Sid of the Factor to which the Challenge is related

    challengeSid

    Sid of the Challenge to be updated

    status

    New status of the Challenge