mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +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
|