MCPcopy Create free account
hub / github.com/authlib/authlib / delete_authorization_code

Method delete_authorization_code

tests/flask/test_oauth2/models.py:92–94  ·  view source on GitHub ↗
(self, authorization_code)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected