Class ServiceConfig.Icloud

java.lang.Object
org.apache.opendal.ServiceConfig.Icloud
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Icloud extends Object implements ServiceConfig
Configuration for service icloud.
  • Field Details

    • root

      public final String root

      root of this backend.

      All operations will happen under this root.

      default to / if not set.

    • appleId

      public final String appleId

      apple_id of this backend.

      apple_id must be full, mostly like example@gmail.com.

    • password

      public final String password

      password of this backend.

      password must be full.

    • trustToken

      public final String trustToken

      Session

      token must be valid.

    • dsWebAuthToken

      public final String dsWebAuthToken

      ds_web_auth_token must be set in Session

    • isChinaMainland

      public final Boolean isChinaMainland

      enable the china origin China region origin Header needs to be set to "https://www.icloud.com.cn".

      otherwise Apple server will return 302.

  • Constructor Details

    • Icloud

      public Icloud()
  • Method Details