Table of Contents

TryRemoveEntry Method

Definition

Namespace
Cuemon.AspNetCore.Authentication
Assemblies
Cuemon.AspNetCore.Authentication.dll
Source
src/Cuemon.AspNetCore.Authentication/MemoryNonceTracker.cs

TryRemoveEntry(string)

Attempts to remove an entry from the tracker.

public bool TryRemoveEntry(string nonce)

Parameters

nonce string

The unique identifier of the tracker.

Returns

bool

true if the entry is removed from the tracker; otherwise, false.

Exceptions

ArgumentNullException

nonce cannot be null.

ArgumentException

nonce cannot be empty or consist only of white-space characters.