/// <summary> /// Validates token and gets profile from token. /// </summary> /// <param name="token"></param> /// <returns></returns> public Task <Profile> GetProfileAsync(Token token) => Task.FromResult(jwtTokenService.GetProfile(token));