No way of splitting token into parts
michaelvanstraten opened this issue · 0 comments
michaelvanstraten commented
Currently, there is no way to split the Token
into the respective header and claims.
This is a problem because this means in order to get an owned value of the claims type from the token you have to clone them (unnecessary allocation and trait bound).