[IMP] auth_oauth: avoid invalid providers

This commit is contained in:
Richard Mathot 2014-07-02 14:33:36 +02:00
parent 160ddc0240
commit f0d66ec5c6
1 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@ class auth_oauth_provider(osv.osv):
_order = 'name'
_columns = {
'name' : fields.char('Provider name'), # Name of the OAuth2 entity, Google, LinkedIn, etc
'name' : fields.char('Provider name', required=True), # Name of the OAuth2 entity, Google, LinkedIn, etc
'client_id' : fields.char('Client ID'), # Our identifier
'auth_endpoint' : fields.char('Authentication URL'), # OAuth provider URL to authenticate users
'auth_endpoint' : fields.char('Authentication URL', required=True), # OAuth provider URL to authenticate users
'scope' : fields.char('Scope'), # OAUth user data desired to access
'validation_endpoint' : fields.char('Validation URL'), # OAuth provider URL to validate tokens
'validation_endpoint' : fields.char('Validation URL', required=True),# OAuth provider URL to validate tokens
'data_endpoint' : fields.char('Data URL'),
'enabled' : fields.boolean('Allowed'),
'css_class' : fields.char('CSS class'),
'body' : fields.char('Body'),
'body' : fields.char('Body', required=True),
'sequence' : fields.integer(),
}
_defaults = {