projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[tx-robot] updated from transifex
[pub/Android/ownCloud.git]
/
res
/
values
/
oauth2_configuration.xml
diff --git
a/res/values/oauth2_configuration.xml
b/res/values/oauth2_configuration.xml
index
04efddc
..
5fbef7c
100644
(file)
--- a/
res/values/oauth2_configuration.xml
+++ b/
res/values/oauth2_configuration.xml
@@
-1,18
+1,23
@@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <!-- Flag to configure OAuth availability in the app.
+ 3 valid values now: on, off, optional
+ -->
+ <string name="oauth2_mode">off</string>
+
<!-- constants that must be respected by the authorization server; if changed, the app must be rebuild -->
<!-- constants that must be respected by the authorization server; if changed, the app must be rebuild -->
- <string name="oauth2_redirect_scheme">o
auth-mobile-app
</string>
- <string name="oauth2_redirect_uri">o
auth-mobile-app
://callback</string>
+ <string name="oauth2_redirect_scheme">o
wncloud
</string>
+ <string name="oauth2_redirect_uri">o
wncloud
://callback</string>
<!-- values that should be provided by ownCloud server -->
<!-- values that should be provided by ownCloud server -->
- <string name="oauth2_url_endpoint_auth">http://o
wncloud.tuxed.net/oauth/php-oauth/authorize.php
</string>
- <string name="oauth2_url_endpoint_access">http://o
wncloud.tuxed.net/oauth/php-oauth/token.php
</string>
- <string name="oauth2_scope">
grades
</string>
+ <string name="oauth2_url_endpoint_auth">http://o
auth2.authorization.server.org/paht/to/endpoint/for/authorization
</string>
+ <string name="oauth2_url_endpoint_access">http://o
auth2.authorization.server.org/paht/to/endporint/for/access/token
</string>
+ <string name="oauth2_scope">
owncloud
</string>
<string name="oauth2_grant_type">authorization_code</string> <!-- the only one supported right now -->
<string name="oauth2_response_type">code</string> <!-- depends on oauth2_grant_type -->
<string name="oauth2_grant_type">authorization_code</string> <!-- the only one supported right now -->
<string name="oauth2_response_type">code</string> <!-- depends on oauth2_grant_type -->
- <!-- values that should be agreed between app and authorization server, but can be loaded without rebuilding the app -->
- <string name="oauth2_client_id">
oc-android-test</string>
<!-- preferable that client decides this -->
+ <!-- values that should be
pre-
agreed between app and authorization server, but can be loaded without rebuilding the app -->
+ <string name="oauth2_client_id">
com.owncloud.android</string>
<!-- preferable that client decides this -->
<string name="oauth2_client_secret"></string> <!-- preferable that client decides this -->
</resources>
<string name="oauth2_client_secret"></string> <!-- preferable that client decides this -->
</resources>