Module: Entrance::Model::RemoteAuthMethods

Defined in:
lib/entrance/model.rb

Instance Method Summary collapse

Instance Method Details

#from_remote_auth?Boolean

Returns:

  • (Boolean)


119
120
121
122
# File 'lib/entrance/model.rb', line 119

def from_remote_auth?
  send(::Entrance.fields.auth_provider).present? \
    && send(::Entrance.fields.auth_uid).present?
end