mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
8495e2a7a0
Also refactored OAuth2Mapping to allow usage with any types of providers
7 lines
308 B
Ruby
7 lines
308 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.extract! auth_provider, :id, :name, :status, :providable_type, :strategy_name
|
|
json.auth_provider_mappings_attributes @provider.auth_provider_mappings do |m|
|
|
json.extract! m, :id, :local_model, :local_field, :api_field, :api_endpoint, :api_data_type, :transformation
|
|
end
|