/// <summary> /// Validates token and get all claims from token. /// </summary> /// <param name="token"></param> /// <returns></returns> public Task <List <Claim> > GetClaimsAsync(Token token) => Task.FromResult(jwtTokenService.GetClaims(token));