Example short usage patterns have been added. Example abbreviations applicable to the whole project
This commit is contained in:
parent
7abd85796e
commit
4bfa1c03df
@ -9,10 +9,7 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces
|
||||
public class DevspacesRedirectUriValidator : IRedirectUriValidator
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
public DevspacesRedirectUriValidator(ILogger<DevspacesRedirectUriValidator> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
public DevspacesRedirectUriValidator(ILogger<DevspacesRedirectUriValidator> logger) => (_logger) = (logger);
|
||||
|
||||
public Task<bool> IsPostLogoutRedirectUriValidAsync(string requestedUri, Client client)
|
||||
{
|
||||
|
@ -63,8 +63,4 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Extensions\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -21,6 +21,8 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API.Services
|
||||
_userManager = userManager;
|
||||
}
|
||||
|
||||
//New Method ArgumentNullException.ThrowIfNull (obj) Added to .NET 6
|
||||
//https://davidshergilashvili.space/2021/09/08/new-method-argumentnullexception-throwifnull-obj-added-to-net-6/
|
||||
async public Task GetProfileDataAsync(ProfileDataRequestContext context)
|
||||
{
|
||||
var subject = context.Subject ?? throw new ArgumentNullException(nameof(context.Subject));
|
||||
|
Loading…
x
Reference in New Issue
Block a user