Sha256: e113ec0e6f7d7884c2e13bc078109a98445f83ae98729d1d203701602a8bc0ce
Contents?: true
Size: 593 Bytes
Versions: 29
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true # # Google SSO Configuration # module GoogleSsoConfiguration extend ActiveSupport::Concern def self.included(base) base.class_eval do # # Fields # field :google_client_id, type: String field :google_client_secret, type: String end end # # Make sure the password doesn't get blanked out on an update # def secure_fields super + %i[google_client_secret] end # # Determine if AWS is configured # def google_sso_configured? google_client_id.present? && google_client_secret.present? end end
Version data entries
29 entries across 29 versions & 1 rubygems