Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auth_method = ChoiceAttribute('auth_method', choices=[
- 'nickserv', 'authserv', 'sasl', 'server'])
- """The method to use to authenticate with the server.
- Can be ``nickserv``, ``authserv``, ``sasl``, or ``server``."""
- auth_method = 'nickserv'
- auth_password = ValidatedAttribute('auth_password')
- """The password to use to authenticate with the server."""
- auth_password = 'MYPASSHERE'
- auth_target = ValidatedAttribute('auth_target')
- """The user to use for nickserv authentication, or the SASL mechanism.
- May not apply, depending on ``auth_method``. Defaults to NickServ for
- nickserv auth, and PLAIN for SASL auth."""
- auth_username = ValidatedAttribute('auth_username')
- """The username/account to use to authenticate with the server.
- May not apply, depending on ``auth_method``."""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement