Revision fe7d0186 snf-pithos-app/pithos/api/settings.py

b/snf-pithos-app/pithos/api/settings.py
184 184
BACKEND_HASH_ALGORITHM = getattr(
185 185
    settings, 'PITHOS_BACKEND_HASH_ALGORITHM', 'sha256')
186 186

  
187
# Set the credentials (client_id, client_secret) issued to authenticate
187
# Set the credentials (client_id, client_secret) issued for authenticating
188 188
# the views with astakos during the resource access token generation procedure
189
OA2_CLIENT_CREDENTIALS = getattr(settings, 'PITHOS_OA2_CLIENT_CREDENTIALS',
190
                                 (None, None))
191

  
192
# Set to False to disable serving object content serving endpoints
193
SERVE_API = getattr(settings, 'PITHOS_SERVE_API', True)
189
OAUTH2_CLIENT_CREDENTIALS = getattr(settings,
190
                                    'PITHOS_OAUTH2_CLIENT_CREDENTIALS',
191
                                    (None, None))
194 192

  
195 193
# Set domain to restrict requests of pithos object contents serve endpoint or
196 194
# None for no domain restriction

Also available in: Unified diff