public static TokenClaims ToTokenClaims(this ClaimsPrincipal claimsPrincipal) { return(TokenClaims.FromClaimPrincinpal(claimsPrincipal)); }