lib/phrase/configuration.rb in phrase-2.4.0 vs lib/phrase/configuration.rb in phrase-2.5.0
- old
+ new
@@ -193,9 +193,17 @@
type: 'api_key',
in: 'header',
key: 'Authorization',
value: api_key_with_prefix('Authorization')
},
+ 'bearerAuth' =>
+ {
+ type: 'bearer',
+ in: 'header',
+ format: 'JWT',
+ key: 'Authorization',
+ value: "Bearer #{access_token}"
+ },
}
end
# Returns an array of Server setting
def server_settings