04efddc999f1a4ccffda173c72a24f8c070fe96b
[pub/Android/ownCloud.git] / res / values / oauth2_configuration.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <resources>
3 <!-- constants that must be respected by the authorization server; if changed, the app must be rebuild -->
4 <string name="oauth2_redirect_scheme">oauth-mobile-app</string>
5 <string name="oauth2_redirect_uri">oauth-mobile-app://callback</string>
6
7 <!-- values that should be provided by ownCloud server -->
8 <string name="oauth2_url_endpoint_auth">http://owncloud.tuxed.net/oauth/php-oauth/authorize.php</string>
9 <string name="oauth2_url_endpoint_access">http://owncloud.tuxed.net/oauth/php-oauth/token.php</string>
10 <string name="oauth2_scope">grades</string>
11 <string name="oauth2_grant_type">authorization_code</string> <!-- the only one supported right now -->
12 <string name="oauth2_response_type">code</string> <!-- depends on oauth2_grant_type -->
13
14 <!-- values that should be agreed between app and authorization server, but can be loaded without rebuilding the app -->
15 <string name="oauth2_client_id">oc-android-test</string> <!-- preferable that client decides this -->
16 <string name="oauth2_client_secret"></string> <!-- preferable that client decides this -->
17
18 </resources>