Zum Hauptinhalt springen
Mutation

connectCalDavAccount

Discovers an authenticated public HTTPS CalDAV server and saves encrypted credentials for the session user. Use an app password where required. Discovery and redirects stay on the configured origin.

Argumente

  • passwordString!

    CalDAV password or app password, encrypted at rest and never returned.

  • urlString!

    Public HTTPS CalDAV server, home or collection URL.

  • usernameString!

    CalDAV login name, kept encrypted.

Rückgabe

ProviderAccount!

Beispiel

mutation ConnectCalDavAccount($password: String!, $url: String!, $username: String!) {
  connectCalDavAccount(password: $password, url: $url, username: $username) {
    id
    name
    provider
  }
}