Fix user_name.
This commit is contained in:
parent
3aa151240c
commit
76d5dcb82f
|
|
@ -12,6 +12,6 @@ public class PageActionArgs
|
|||
public string Url { get; set; } = null!;
|
||||
public bool OpenNewTab { get; set; } = false;
|
||||
|
||||
public bool WaitForNetworkIdle = true;
|
||||
public bool WaitForNetworkIdle { get; set; } = true;
|
||||
public float? Timeout { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public class UserIdentity : IUserIdentity
|
|||
|
||||
[JsonPropertyName("user_name")]
|
||||
public string UserName
|
||||
=> _claims?.FirstOrDefault(x => x.Type == "name")?.Value!;
|
||||
=> _claims?.FirstOrDefault(x => x.Type == ClaimTypes.Name)?.Value!;
|
||||
|
||||
public string Email
|
||||
=> _claims?.FirstOrDefault(x => x.Type == ClaimTypes.Email)?.Value!;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Playwright" Version="1.45.0" />
|
||||
<PackageReference Include="Microsoft.Playwright" Version="1.45.1" />
|
||||
<PackageReference Include="Selenium.WebDriver" Version="4.23.0" />
|
||||
<PackageReference Include="HtmlAgilityPack" Version="1.11.61" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue