Class ExternalRoleSynchronizationResult
Represents the result of a external role synchronization.
Inherited Members
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class ExternalRoleSynchronizationResult
Properties
Errors
An IEnumerable<T> of Microsoft.AspNetCore.Identity.IdentityErrors containing any errors that occurred during the synchronization operation.
Declaration
public IEnumerable<IdentityError> Errors { get; }
Property Value
IEnumerable<Microsoft.AspNetCore.Identity.IdentityError>
An IEnumerable<T> of Microsoft.AspNetCore.Identity.IdentityErrors. |
Skipped
Returns an ExternalRoleSynchronizationResult indicating a skipped synchronization.
Declaration
public static ExternalRoleSynchronizationResult Skipped { get; }
Property Value
ExternalRoleSynchronizationResult
|
SkippedSynchronization
Flag indicating whether if the synchronization was performed or skipped because there were nothing to synchronize.
Declaration
public bool SkippedSynchronization { get; }
Property Value
Boolean
True if the synchronization was skipped, otherwise false. |
Succeeded
Flag indicating whether if the synchronization succeeded or not.
Declaration
public bool Succeeded { get; }
Property Value
Boolean
True if the synchronization succeeded, otherwise false. |
Success
Returns an ExternalRoleSynchronizationResult indicating a successful synchronization.
Declaration
public static ExternalRoleSynchronizationResult Success { get; }
Property Value
ExternalRoleSynchronizationResult
|
Methods
Failed(IdentityError[])
Creates an ExternalRoleSynchronizationResult indicating a failed synchronization, with a list of errors if applicable.
Declaration
public static ExternalRoleSynchronizationResult Failed(params IdentityError[] errors)
Parameters
Microsoft.AspNetCore.Identity.IdentityError[]
errors
An optional array of Microsoft.AspNetCore.Identity.IdentityErrors which caused the synchronization to fail. |
Returns
ExternalRoleSynchronizationResult
An ExternalRoleSynchronizationResult indicating a failed synchronization, with a list of errors if applicable. |