NullSuspensionService

Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll

Summary

Provides an implementation of ISuspensionService that does nothing.

Methods

GetSuspendedIds()

Summary

Returns empty list.

Parameters

This method has no parameters.

GetSuspendedIdsAsync()

Summary

Invokes the other overload GetSuspendedIdsAsync and returns the task object.

Parameters

This method has no parameters.

GetSuspendedIdsAsync(cancellationToken)

Summary

Returns empty list.

Parameters
Name Type Description
cancellationToken System.Collections.Generic.List{ASPSecurityKit.Authorization.IIdMemberReference} The cancellation token.

IsAllowed()

Summary

Not implemented – throws the NotImplementedException

Parameters

This method has no parameters.

IsAllowedAsync()

Summary

Invokes the other overload IsAllowedAsync and returns the task object.

Parameters

This method has no parameters.

IsAllowedAsync(cancellationToken)

Summary

Not implemented – throws the NotImplementedException

Parameters
Name Type Description
cancellationToken ASPSecurityKit.ISuspendedId The cancellation token.