diff options
author | David Zeuthen <davidz@redhat.com> | 2011-05-19 17:33:07 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2011-05-19 17:33:07 -0400 |
commit | 7682546bc4f7a6a957d35695cb98fdc95d5722ad (patch) | |
tree | 8eba9eb662a799dd17bb705cce47c836a5b2fb99 /doc | |
parent | fb771f93169beb07e31935d5e53725fe6e7a4f14 (diff) |
Add "generic" provider
This is to support non-branded accounts - for example, for my work
account, it looks like this
[Account my_rh_account]
Type=generic
Name=Red Hat Account
ImapHost=mail.corp.redhat.com
ImapUseTls=true
ImapIgnoreBadTls=true
ImapPassword=****
The main idea behind this is that the admin can drop a file in
/etc/goa-1.0/accounts.conf.d (e.g. install an RPM supplying that file)
that look like this
[Account rh_account]
Type=generic
Name=Red Hat Account
ImapHost=mail.corp.redhat.com
ImapUseTls=true
CalendarHost=...
and then things should just work out of the box.
This is not done yet; e.g.
- we need to read the password(s) from the keyring instead of
from the config file (or at least support that)
- do we need UI for this? or do we tell people to edit their
config file for this? We definitely need _some_ kind of UI to
set the password....
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/goa-docs.xml | 2 | ||||
-rw-r--r-- | doc/goa-sections.txt | 21 | ||||
-rw-r--r-- | doc/goa.types | 2 |
3 files changed, 25 insertions, 0 deletions
diff --git a/doc/goa-docs.xml b/doc/goa-docs.xml index 3c89c8c..428ffe4 100644 --- a/doc/goa-docs.xml +++ b/doc/goa-docs.xml @@ -133,6 +133,7 @@ <title>Backend Library API Reference</title> <xi:include href="xml/goalog.xml"/> <xi:include href="xml/goaprovider.xml"/> + <xi:include href="xml/goagenericprovider.xml"/> <xi:include href="xml/goaoauthprovider.xml"/> <xi:include href="xml/goaoauth2provider.xml"/> <xi:include href="xml/goagoogleprovider.xml"/> @@ -140,6 +141,7 @@ <xi:include href="xml/goayahooprovider.xml"/> <xi:include href="xml/goatwitterprovider.xml"/> <xi:include href="xml/goaimapauth.xml"/> + <xi:include href="xml/goaimapauthlogin.xml"/> <xi:include href="xml/goaimapauthoauth.xml"/> <xi:include href="xml/goaimapclient.xml"/> <xi:include href="xml/goaimapmail.xml"/> diff --git a/doc/goa-sections.txt b/doc/goa-sections.txt index 09140dc..b329bb1 100644 --- a/doc/goa-sections.txt +++ b/doc/goa-sections.txt @@ -563,6 +563,16 @@ goa_oauth_provider_get_type </SECTION> <SECTION> +<FILE>goagenericprovider</FILE> +GoaGenericProvider +<SUBSECTION Standard> +GOA_GENERIC_PROVIDER +GOA_IS_GENERIC_PROVIDER +GOA_TYPE_GENERIC_PROVIDER +goa_generic_provider_get_type +</SECTION> + +<SECTION> <FILE>goagoogleprovider</FILE> GoaGoogleProvider <SUBSECTION Standard> @@ -752,6 +762,17 @@ goa_imap_auth_oauth_get_type </SECTION> <SECTION> +<FILE>goaimapauthlogin</FILE> +GoaImapAuthLogin +goa_imap_auth_login_new +<SUBSECTION Standard> +GOA_IMAP_AUTH_LOGIN +GOA_IS_IMAP_AUTH_LOGIN +GOA_TYPE_IMAP_AUTH_LOGIN +goa_imap_auth_login_get_type +</SECTION> + +<SECTION> <FILE>goalog</FILE> GoaLogLevel goa_log diff --git a/doc/goa.types b/doc/goa.types index 5a73646..1eb1531 100644 --- a/doc/goa.types +++ b/doc/goa.types @@ -31,6 +31,7 @@ goa_mail_monitor_proxy_get_type goa_mail_monitor_skeleton_get_type goa_provider_get_type +goa_generic_provider_get_type goa_oauth_provider_get_type goa_oauth2_provider_get_type goa_google_provider_get_type @@ -38,6 +39,7 @@ goa_facebook_provider_get_type goa_yahoo_provider_get_type goa_twitter_provider_get_type goa_imap_auth_get_type +goa_imap_auth_login_get_type goa_imap_auth_oauth_get_type goa_imap_client_get_type goa_imap_mail_get_type |