Merge branch 'develop'after SPRINT-002
[pub/Android/ownCloud.git] / res / values / oauth2_configuration.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <resources>
3 <!-- Flag to configure OAuth availability in the app.
4 3 valid values now: on, off, optional
5 -->
6 <string name="oauth2_mode">off</string>
7
8 <!-- constants that must be respected by the authorization server; if changed, the app must be rebuild -->
9 <string name="oauth2_redirect_scheme">owncloud</string>
10 <string name="oauth2_redirect_uri">owncloud://callback</string>
11
12 <!-- values that should be provided by ownCloud server -->
13 <string name="oauth2_url_endpoint_auth">http://oauth2.authorization.server.org/paht/to/endpoint/for/authorization</string>
14 <string name="oauth2_url_endpoint_access">http://oauth2.authorization.server.org/paht/to/endporint/for/access/token</string>
15 <string name="oauth2_scope">owncloud</string>
16 <string name="oauth2_grant_type">authorization_code</string> <!-- the only one supported right now -->
17 <string name="oauth2_response_type">code</string> <!-- depends on oauth2_grant_type -->
18
19 <!-- values that should be pre-agreed between app and authorization server, but can be loaded without rebuilding the app -->
20 <string name="oauth2_client_id">com.owncloud.android</string> <!-- preferable that client decides this -->
21 <string name="oauth2_client_secret"></string> <!-- preferable that client decides this -->
22
23 </resources>