sounds.auth¶
Classes¶
Service to handle authentication with BBC Sounds. |
Module Contents¶
- class sounds.auth.AuthService(cookie_store: sounds.cookies.CookieStore, on_login_success=None, *args, **kwargs)¶
Bases:
sounds.base.BaseService to handle authentication with BBC Sounds.
- ERROR_CLASS = 'sb-form-message--error'¶
- EMAIL_ERROR_MSG = 'We don’t recognise that email or username. You can try again or register for an account'¶
- PASSWORD_ERROR_MSG = 'That password isn’t right. You can try again or reset your password'¶
- PASSWORD_LENGTH_MSG = 'Sorry, that password is too short. It needs to be eight characters or more.'¶
- user_info = None¶
- debug_login = False¶