Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

AdalException needs to be serializable #1526

Closed
MarkZuber opened this issue Mar 11, 2019 · 1 comment
Closed

AdalException needs to be serializable #1526

MarkZuber opened this issue Mar 11, 2019 · 1 comment
Assignees
Milestone

Comments

@MarkZuber
Copy link
Contributor

In CustomWebUI flows, it's possible that the process implementing the UI is in another process.
Want to add a few methods to AdalException to support serializing the exception(s) in this case

string ToJsonString() -- serializes the AdalException (or any derived exception) into a json string which can be marshaled across the process boundary.

static AdalException FromJsonString(string json) -- factory method to create the appropriate (possibly derived) AdalException from the serialized json string.

@MarkZuber
Copy link
Contributor Author

#1539

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants