Try our conversational search powered by Generative AI!

Class ISynchronizingUserServiceExtensions

Synchronizes a claims identity to the database

Inheritance
System.Object
ISynchronizingUserServiceExtensions
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
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public static class ISynchronizingUserServiceExtensions

Methods

SynchronizeAsync(ISynchronizingUserService, ClaimsIdentity)

Synchronizes a claims identity to the database

Declaration
public static Task SynchronizeAsync(this ISynchronizingUserService service, ClaimsIdentity identity)
Parameters
Type Name Description
ISynchronizingUserService service

The service that is being extended

System.Security.Claims.ClaimsIdentity identity

The claims identity

Returns
Type Description
System.Threading.Tasks.Task
Exceptions
Type Condition
System.ArgumentException

If the identity is not authenticated