Class DefaultSynchronizingUserService
Inheritance
System.Object
DefaultSynchronizingUserService
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class DefaultSynchronizingUserService : Object, ISynchronizingUserService
Constructors
DefaultSynchronizingUserService(ISynchronizedUsersRepository)
Declaration
public DefaultSynchronizingUserService(ISynchronizedUsersRepository synchronizedUsersRepository)
Parameters
Methods
Synchronize(ClaimsIdentity)
Declaration
public virtual void Synchronize(ClaimsIdentity identity)
Parameters
Type |
Name |
Description |
System.Security.Claims.ClaimsIdentity |
identity |
|
Synchronize(ClaimsIdentity, IEnumerable<String>)
Declaration
public virtual void Synchronize(ClaimsIdentity identity, IEnumerable<string> additionalClaimsToSync)
Parameters
Type |
Name |
Description |
System.Security.Claims.ClaimsIdentity |
identity |
|
System.Collections.Generic.IEnumerable<System.String> |
additionalClaimsToSync |
|
SynchronizeAsync(ClaimsIdentity)
Declaration
public virtual Task SynchronizeAsync(ClaimsIdentity identity)
Parameters
Type |
Name |
Description |
System.Security.Claims.ClaimsIdentity |
identity |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SynchronizeAsync(ClaimsIdentity, IEnumerable<String>)
Declaration
public virtual Task SynchronizeAsync(ClaimsIdentity identity, IEnumerable<string> additionalClaimsToSync)
Parameters
Type |
Name |
Description |
System.Security.Claims.ClaimsIdentity |
identity |
|
System.Collections.Generic.IEnumerable<System.String> |
additionalClaimsToSync |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SynchronizeUserAndRoles(String, IEnumerable<String>)
Declaration
public virtual void SynchronizeUserAndRoles(string userName, IEnumerable<string> roles)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.Collections.Generic.IEnumerable<System.String> |
roles |
|
Implements
Extension Methods