Class MemberIdentityBuilder
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MemberIdentityBuilder : IdentityBuilder
Constructors
View SourceMemberIdentityBuilder(IServiceCollection)
Initializes a new instance of the MemberIdentityBuilder class.
Declaration
public MemberIdentityBuilder(IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services |
MemberIdentityBuilder(Type, IServiceCollection)
Initializes a new instance of the MemberIdentityBuilder class.
Declaration
public MemberIdentityBuilder(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 MemberIdentityBuilder.
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 |