TryGetEntry Method
Definition
- Namespace
- Cuemon.AspNetCore.Authentication
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
TryGetEntry(string, out NonceTrackerEntry)
Attempts to get the NonceTrackerEntry associated with the specified nonce from the tracker.
public bool TryGetEntry(string nonce, out NonceTrackerEntry entry)
Parameters
noncestringThe unique identifier of the tracker.
entryNonceTrackerEntryWhen this method returns, contains the entry associated with the specified
nonce, ornullif the operation failed.
Returns
- bool
trueif theentrywas found in the tracker; otherwise,false.
Exceptions
- ArgumentNullException
noncecannot be null.- ArgumentException
noncecannot be empty or consist only of white-space characters.