Class IdentityExtensions
Contains extension methods that enhance identity-related operations.
Inheritance
object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Infrastructure.dll
Syntax
public static class IdentityExtensions
Methods
View SourceToErrorMessage(IEnumerable<IdentityError>)
Converts a collection of Microsoft.AspNetCore.Identity.IdentityError objects into a single error message string.
Declaration
public static string ToErrorMessage(this IEnumerable<IdentityError> errors)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IdentityError> | errors | The collection of identity errors to convert. Cannot be |
Returns
| Type | Description |
|---|---|
| string | A single string containing all error descriptions, separated by commas. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |