Class ApplicationDiscriminatorExtensions
Contains extension methods for the Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator interface.
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Web.Common.dll
Syntax
public static class ApplicationDiscriminatorExtensions
Methods
View SourceGetApplicationId(IApplicationDiscriminator)
Gets an application id which respects downstream customizations.
Declaration
public static string GetApplicationId(this IApplicationDiscriminator applicationDiscriminator)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator | applicationDiscriminator |
Returns
Type | Description |
---|---|
System.String |
Remarks
Hashed to obscure any unintended infrastructure details e.g. the default value is ContentRootPath.