Method: Autumn::Authentication::Op#authenticate
- Defined in:
- lib/autumn/authentication.rb
#authenticate(stem, channel, sender, leaf) ⇒ Object
:nodoc:
80 81 82 83 |
# File 'lib/autumn/authentication.rb', line 80 def authenticate(stem, channel, sender, leaf) # :nodoc: # Returns true if the sender has any of the privileges listed below not (@privileges & [ stem.privilege(channel, sender) ].flatten).empty? end |