Skip to content

Commit 036052d

Browse files
committed
If we actually finish, update the necessary.
1 parent 59023ca commit 036052d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/scitokens_internal.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,13 @@ SciToken::deserialize_continue(std::unique_ptr<SciTokenAsyncStatus> status) {
613613
} else {
614614
status->m_status = status->m_validator->verify_async_continue(
615615
std::move(status->m_status));
616+
if(status->m_status->m_done) {
617+
// Set all the claims
618+
m_claims = m_decoded->get_payload_claims();
619+
620+
// Copy over the profile
621+
m_profile = status->m_validator->get_profile();
622+
}
616623
}
617624

618625
return std::move(status);

0 commit comments

Comments
 (0)