1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/models/o_auth2_provider.rb
Sylvain 6ae8c965f3 (quality) add unique constraints in db
Also: code lint in SSO models
2023-03-02 13:26:05 +01:00

8 lines
283 B
Ruby

# frozen_string_literal: true
# OAuth2Provider is a special type of AuthProvider which provides authentication through an external SSO server using
# the oAuth 2.0 protocol.
class OAuth2Provider < ApplicationRecord
has_one :auth_provider, as: :providable, dependent: :destroy
end