Open
Description
Summary of the new feature / enhancement
We should have a way to test app tokens. This could be handy for accepting tokens in endpoints from non-default headers (e.g. X-Vendor-Token). The tokens would still need to be valid PSU tokens but we could invoke in the internal validation. It should return true\false similar to Test-Path.
Test-PSUToken -Token $TokenValue
We should also support inspecting parts of the token, like claims and identity name.
Test-PSUToken -Token $TokenValue -Role "Administrator"
Test-PSUToken -Token $TokenValue -Identity "Admin"
Proposed technical implementation details (optional)
No response