mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
b4e53d2039
Also refactored OAuth2Mapping to allow usage with any types of providers
8 lines
286 B
Ruby
8 lines
286 B
Ruby
# frozen_string_literal: true
|
|
|
|
# AuthProviderMapping defines the relationship between a database field (saving user's data)
|
|
# and an external API, that is authorized through an external SSO (like oAuth 2.0).
|
|
class AuthProviderMapping < ApplicationRecord
|
|
belongs_to :auth_provider
|
|
end
|