bcd4f5cfcef6a4efe48996bd1282bdf3651ae264
[pub/Android/ownCloud.git] /
1 package com.owncloud.android.oc_framework.authentication;
2
3 public class AccountAuthenticatorConstants {
4
5 public static final String KEY_AUTH_TOKEN_TYPE = "authTokenType";
6 public static final String KEY_REQUIRED_FEATURES = "requiredFeatures";
7 public static final String KEY_LOGIN_OPTIONS = "loginOptions";
8 public static final String KEY_ACCOUNT = "account";
9
10 /**
11 * Value under this key should handle path to webdav php script. Will be
12 * removed and usage should be replaced by combining
13 * {@link com.owncloud.android.authentication.AuthenticatorActivity.KEY_OC_BASE_URL} and
14 * {@link com.owncloud.android.utils.OwnCloudVersion}
15 *
16 * @deprecated
17 */
18 public static final String KEY_OC_URL = "oc_url";
19 /**
20 * Version should be 3 numbers separated by dot so it can be parsed by
21 * {@link com.owncloud.android.utils.OwnCloudVersion}
22 */
23 public static final String KEY_OC_VERSION = "oc_version";
24 /**
25 * Base url should point to owncloud installation without trailing / ie:
26 * http://server/path or https://owncloud.server
27 */
28 public static final String KEY_OC_BASE_URL = "oc_base_url";
29 /**
30 * Flag signaling if the ownCloud server can be accessed with OAuth2 access tokens.
31 */
32 public static final String KEY_SUPPORTS_OAUTH2 = "oc_supports_oauth2";
33 /**
34 * Flag signaling if the ownCloud server can be accessed with session cookies from SAML-based web single-sign-on.
35 */
36 public static final String KEY_SUPPORTS_SAML_WEB_SSO = "oc_supports_saml_web_sso";
37
38 }