Add a privileged scope that allows authorization to be skipped
This commit is contained in:
parent
f4d1d97848
commit
64604a852f
3 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
module Oauth
|
||||
SCOPES = %w[read_prefs write_prefs write_diary write_api read_gpx write_gpx write_notes].freeze
|
||||
PRIVILEGED_SCOPES = %w[read_email].freeze
|
||||
PRIVILEGED_SCOPES = %w[read_email skip_authorization].freeze
|
||||
|
||||
class Scope
|
||||
attr_reader :name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue