Advertisement
Guest User

Untitled

a guest
Apr 16th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. auth_method = ChoiceAttribute('auth_method', choices=[
  2. 'nickserv', 'authserv', 'sasl', 'server'])
  3. """The method to use to authenticate with the server.
  4.  
  5. Can be ``nickserv``, ``authserv``, ``sasl``, or ``server``."""
  6.  
  7. auth_method = 'nickserv'
  8.  
  9. auth_password = ValidatedAttribute('auth_password')
  10. """The password to use to authenticate with the server."""
  11.  
  12. auth_password = 'MYPASSHERE'
  13.  
  14. auth_target = ValidatedAttribute('auth_target')
  15. """The user to use for nickserv authentication, or the SASL mechanism.
  16.  
  17. May not apply, depending on ``auth_method``. Defaults to NickServ for
  18. nickserv auth, and PLAIN for SASL auth."""
  19.  
  20. auth_username = ValidatedAttribute('auth_username')
  21. """The username/account to use to authenticate with the server.
  22.  
  23. May not apply, depending on ``auth_method``."""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement