Part of wader.common.statem.auth View In Hierarchy
| Method | __init__ | Undocumented |
| Method | __repr__ | Undocumented |
| Method | notify_auth_ok | Called when authentication was successful |
| Method | notify_auth_failure | Called when we faced a failure |
| Method | check_pin_cb | Callbacked with check_pin's result |
| Method | get_pin_status_cb | Callbacked with get_pin_status's result |
| Method | incorrect_pin_eb | Executed when PIN is incorrect |
| Method | incorrect_puk_eb | Executed when the PUK is incorrect |
| Method | incorrect_puk2_eb | Executed when the PUK2 is incorrect |
| Method | pin_required_eb | Executed when SIM PIN is required |
| Method | puk_required_eb | Executed when PUK is required |
| Method | puk2_required_eb | Executed when PUK2 is required |
| Method | sim_failure_eb | Executed when there's a SIM failure, try again in a while |
| Method | sim_busy_eb | Executed when SIM is busy, try again in a while |
| Method | sim_no_present_eb | Executed when there's no SIM, errback it |
| Method | start_auth | Starts the authentication |
| Class | get_pin_status | Ask the PIN what's the PIN status |
| Class | pin_needed_status | PIN is needed, get it from the collaborator and try to authenticate. |
| Class | puk_needed_status | PUK and PIN are needed, get 'em from the collaborator and pray |
| Class | puk2_needed_status | PUK2 and PIN are needed, get 'em from the collaborator and pray |
Inherited from StateMachineMixin:
| Method | on_notification_received | Called whenever a notification is received |
Starts the authentication
Returns a deferred that will be callbacked if everything goes alright| Raises | wader.common.exceptions.AuthCancelled | User cancelled the auth |
| wader.common.exceptions.CMEErrorSIMFailure | SIM unknown error | |
| wader.common.exceptions.CMEErrorSIMNotInserted | SIM not inserted | |
| wader.common.exceptions.DeviceLockedError | Device is locked |