SaaS CMS has officially launched! Learn more now.

Class ISynchronizingUserServiceExtensions

Synchronizes a claims identity to the database

Inheritance
System.Object
ISynchronizingUserServiceExtensions
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class ISynchronizingUserServiceExtensions : Object

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