API Reference
Class
InMemoryToolAuthenticationProbeStore
Thread-safe in-memory probe store suitable for host-local execution.
Inheritance
- Object
- InMemoryToolAuthenticationProbeStore
Constructors
public InMemoryToolAuthenticationProbeStore(Int32 maxRecords = 1000, TimeSpan? maxRecordAge = null, Func<DateTimeOffset>? utcNowProvider = null) #Initializes a new instance of the InMemoryToolAuthenticationProbeStore class.
Parameters
- maxRecords System.Int32 = 1000
- Maximum number of records retained in memory.
- maxRecordAge System.TimeSpan? = null
- Maximum age for retained records.
- utcNowProvider System.Func<System.DateTimeOffset>? = null
- Optional UTC clock provider used for retention checks.
Exceptions
ArgumentOutOfRangeException– Thrown when maxRecords or maxRecordAge is invalid.
Methods
public Boolean TryGet(String probeId, out ToolAuthenticationProbeRecord record) #Returns:
BooleanLooks up a probe record by id.
Parameters
- probeId System.String
- Probe identifier.
- record IntelligenceX.Tools.ToolAuthenticationProbeRecord
- Resolved record when found.
Returns
True when record exists.
public Void Upsert(ToolAuthenticationProbeRecord record) #Returns:
VoidInserts or replaces a probe record.
Parameters
- record IntelligenceX.Tools.ToolAuthenticationProbeRecord
- Probe record to persist.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?