OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CardDAV Storage Plugin

Provides OpenAB::PIMContactItem items using CardDAV protocol (tested with Google Contacts, iCloud). More...

Collaboration diagram for CardDAV Storage Plugin:

Provides OpenAB::PIMContactItem items using CardDAV protocol (tested with Google Contacts, iCloud).

Plugin Name: "CardDAV"

Parameters:

Type Name Description Mandatory
String "server_url" CardDAV server address Yes
String "login" User login Yes
String "password" User password Yes
String "client_id" Id of client application (registered in Google) Yes
String "client_secret" Secret of client application (registered in Google) Yes
String "refresh_token" OAuth2 user refresh token Yes
Note
"login" and "password" pair or triple "client_id", "client_secret" and "refresh_token" are mandatory to provide, depending on authorization method used by CardDAV server. When using OAuth2 refresh token it has to have required scope (for Google contacts this is https://www.googleapis.com/auth/carddav).