send all credential to verifier
This commit is contained in:
parent
09ab17a00f
commit
674f136342
|
@ -319,3 +319,7 @@ class OAuth2VPToken(models.Model):
|
|||
"verifiableCredential", [{}]
|
||||
)[-1].get("credentialSubject")
|
||||
return json.dumps(self.user_info, indent=2)
|
||||
|
||||
def get_user_info_all(self):
|
||||
tk = json.loads(self.vp_token)
|
||||
return json.dumps(tk, indent=2)
|
||||
|
|
|
@ -219,7 +219,7 @@ class VerifyView(View):
|
|||
return email_message
|
||||
|
||||
def get_verification(self):
|
||||
return self.vp_token.get_user_info()
|
||||
return self.vp_token.get_user_info_all()
|
||||
|
||||
class AllowCodeView(View):
|
||||
def get(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue