Class BackOfficeIdentityBuilder
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BackOfficeIdentityBuilder : IdentityBuilder
Constructors
View SourceBackOfficeIdentityBuilder(IServiceCollection)
Initializes a new instance of the BackOfficeIdentityBuilder class.
Declaration
public BackOfficeIdentityBuilder(IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services |
BackOfficeIdentityBuilder(Type, IServiceCollection)
Initializes a new instance of the BackOfficeIdentityBuilder class.
Declaration
public BackOfficeIdentityBuilder(Type role, IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | role | |
| IServiceCollection | services |
Methods
View SourceAddErrorDescriber<TDescriber>()
Declaration
public override IdentityBuilder AddErrorDescriber<TDescriber>()
Returns
| Type | Description |
|---|---|
| IdentityBuilder |
Type Parameters
| Name | Description |
|---|---|
| TDescriber |
AddTokenProvider(String, Type)
Adds a token provider for the BackOfficeIdentityUser.
Declaration
public override IdentityBuilder AddTokenProvider(string providerName, Type provider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | providerName | The name of the provider to add. |
| Type | provider | The type of the |
Returns
| Type | Description |
|---|---|
| IdentityBuilder | The current |