mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
18 lines
1.2 KiB
XML
18 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<!-- constants that must be respected by the authorization server; if changed, the app must be rebuild -->
|
|
<string name="oauth2_redirect_scheme">oauth-mobile-app</string>
|
|
<string name="oauth2_redirect_uri">oauth-mobile-app://callback</string>
|
|
|
|
<!-- values that should be provided by ownCloud server -->
|
|
<string name="oauth2_url_endpoint_auth">http://owncloud.tuxed.net/oauth/php-oauth/authorize.php</string>
|
|
<string name="oauth2_url_endpoint_access">http://owncloud.tuxed.net/oauth/php-oauth/token.php</string>
|
|
<string name="oauth2_scope">grades</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 -->
|
|
|
|
<!-- 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 -->
|
|
<string name="oauth2_client_secret"></string> <!-- preferable that client decides this -->
|
|
|
|
</resources>
|