public async Task <IList <Claim> > GetClaimsAsync(OdissUser user) { var session = await sessionStore.GetByUserIdAsync(user.Id); if (session == null) { throw new NullReferenceException("No session for user found"); } return(serialization.Deserialize <IList <Claim> >(session.Data)); }