Trying to perform RemoteAuthetation using development, I came across an example (almost official, since the devile wiki is limited to the link to this document ).
All classes that actually implement the authentication algorithm, "deuces" are enclosed in Devise, Models or Devise, Strategies.
Here is an example of Devise, Models:
module Devise
module Models
module RemoteAuthenticatable
extend ActiveSupport::Concern
def remote_authentication(authentication_hash)
end
end
end
end
: - ( ), , , , java, ?
, .
(, ) , .
,
module Devise
module Models
module Authenticatable
extend ActiveSupport::Concern
...
end
end
: Authenticatable, , . , , , . ?