--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Use the after_authentication callbacks to setup things that should occur after the user is authenticated.
- !ruby/struct:SM::Flow::P 
  body: Pass in symbols, procs and or a block to the method to setup the callbacks. Callbacks are executed in the order they are added.
- !ruby/struct:SM::Flow::P 
  body: "@params &lt;*callbacks:[Symbol|Proc]&gt; The callback.. Symbol == method on the user object"
- !ruby/struct:SM::Flow::VERB 
  body: "                                          Proc will be passed the user, request and param objects\n"
- !ruby/struct:SM::Flow::P 
  body: "&lt;&amp;block&gt; A block to check. The user, request and params will be passed into the block"
- !ruby/struct:SM::Flow::P 
  body: To confirm that the user is still eligable to login, simply return the user from the method or block. To stop the user from being authenticated return false or nil
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Example
- !ruby/struct:SM::Flow::VERB 
  body: "   Merb::Authentication.after_authentication do |user,request,params|\n      user.active? ? user : nil\n   end\n"
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: Merb::Authentication::after_authentication
is_singleton: true
name: after_authentication
params: (*callbacks, &block)
visibility: public
