0001-a2_idp_oidc-fix-code-model-repr-special-method-26196.patch
src/authentic2_idp_oidc/models.py | ||
---|---|---|
235 | 235 |
return self.expired >= now() and self.session is not None |
236 | 236 | |
237 | 237 |
def __repr__(self): |
238 |
return '<OIDCAccessToken uuid:%s client:%s user:%s expired:%s scopes:%s>' % (
|
|
238 |
return '<OIDCCode uuid:%s client:%s user:%s expired:%s scopes:%s>' % (
|
|
239 | 239 |
self.uuid, |
240 | 240 |
self.client_id and unicode(self.client), |
241 | 241 |
self.user_id and unicode(self.user), |
242 |
- |