Expiration

public enum Expiration

Expiration offers options about the validity of files stored in FilesStore and SingleFileStore.

  • Object will not expire automatically.

    Declaration

    Swift

    case never
  • Object will expire after the specified amount of seconds.

    Declaration

    Swift

    case seconds(TimeInterval)
  • Object will expire on the specified date.

    Declaration

    Swift

    case date(Date)