Class Autumn::Authentication::Op
In: lib/autumn/authentication.rb
Parent: Base

Authenticates users by their privilege level in the channel they ran the command in.

This is a quick, configuration-free way of protecting your leaf, so long as you trust the ops in your channel.

Methods

new  

Public Class methods

Creates a new authenticator. Pass a list of allowed privileges (as symbols) for the privileges option. By default this class accepts ops, admins, and channel owners/founders as authorized.

[Validate]