ODARenewalService

public final actor ODARenewalService

This service is used to perform the ODA certificate renewal in the card.

  • The ODA renewal service error.

    See more

    Declaration

    Swift

    public enum Error : Swift.Error, Equatable
  • Initializes the ODA renewal service.

    Declaration

    Swift

    public init()
  • Renews the digital card if a renewal is needed.

    Throws:

    Declaration

    Swift

    public func renewIfNeeded(digitalCardID: String, isForced: Bool = false) async throws

    Parameters

    digitalCardID

    The identifiers of the digital card to be renewed.

    isForced

    A force request is sent to the server even if a renewal is not required for the card.