public JwtPayload DecodeToken(string token) { var ts = ReadToken(token); if (ts == null) { return(null); } var payload = JsonExtensions.DeserializeJwtPayload(ts.Substring(ts.LastIndexOf('.') + 1)); return(payload); }
public JwtPayload DecodeToken(string token) { var ts = ReadToken(token); if (ts == null) { return(null); } var payload = JsonExtensions.DeserializeJwtPayload(ts.Substring(ts.LastIndexOf('.') + 1)); return(payload); }