1 package com.owncloud.android.oc_framework.authentication;
3 public class AccountAuthenticatorConstants {
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";
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}
18 public static final String KEY_OC_URL = "oc_url";
20 * Version should be 3 numbers separated by dot so it can be parsed by
21 * {@link com.owncloud.android.utils.OwnCloudVersion}
23 public static final String KEY_OC_VERSION = "oc_version";
25 * Base url should point to owncloud installation without trailing / ie:
26 * http://server/path or https://owncloud.server
28 public static final String KEY_OC_BASE_URL = "oc_base_url";
30 * Flag signaling if the ownCloud server can be accessed with OAuth2 access tokens.
32 public static final String KEY_SUPPORTS_OAUTH2 = "oc_supports_oauth2";
34 * Flag signaling if the ownCloud server can be accessed with session cookies from SAML-based web single-sign-on.
36 public static final String KEY_SUPPORTS_SAML_WEB_SSO = "oc_supports_saml_web_sso";