(self, authorization_code)
| 90 | return item |
| 91 | |
| 92 | def delete_authorization_code(self, authorization_code): |
| 93 | db.session.delete(authorization_code) |
| 94 | db.session.commit() |
| 95 | |
| 96 | def authenticate_user(self, authorization_code): |
| 97 | return db.session.get(User, authorization_code.user_id) |