1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 07:56:19 +00:00

Create OAuth scope param to save it in AccountManager during OAuth process

This commit is contained in:
davigonz 2020-02-05 14:40:34 +01:00
parent b7033e53bf
commit 261be8bf85
3 changed files with 10 additions and 0 deletions

3
gradle.properties Normal file
View File

@ -0,0 +1,3 @@
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536M

View File

@ -25,6 +25,8 @@ android {
versionCode = 10000401 versionCode = 10000401
versionName = "1.0.4.1" versionName = "1.0.4.1"
manifestPlaceholders = [appAuthRedirectScheme: 'oc']
} }
lintOptions { lintOptions {

View File

@ -319,5 +319,10 @@ public class AccountUtils {
* OAuth2 refresh token * OAuth2 refresh token
**/ **/
public static final String KEY_OAUTH2_REFRESH_TOKEN = "oc_oauth2_refresh_token"; public static final String KEY_OAUTH2_REFRESH_TOKEN = "oc_oauth2_refresh_token";
/**
* OAuth2 scope
*/
public static final String KEY_OAUTH2_SCOPE = "oc_oauth2_scope";
} }
} }