Class DefaultSynchronizingUserService
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
DefaultSynchronizingUserService
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(typeof(ISynchronizingUserService))]
public class DefaultSynchronizingUserService : ISynchronizingUserService
Constructors
DefaultSynchronizingUserService(ISynchronizedUsersRepository)
Declaration
public DefaultSynchronizingUserService(ISynchronizedUsersRepository synchronizedUsersRepository)
Parameters
Type | Name | Description |
---|---|---|
ISynchronizedUsersRepository | synchronizedUsersRepository |
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 |