Table of Contents

ValidateOptions Method

Definition

Namespace
Codebelt.SharedKernel.Security
Assemblies
Codebelt.SharedKernel.dll
Source
src/Codebelt.SharedKernel/Security/AccessKeyOptions.cs

ValidateOptions()

Determines whether the public read-write properties of this instance are in a valid state.

public void ValidateOptions()

Remarks

This method is expected to throw exceptions when one or more conditions fails to be in a valid state.

Exceptions

InvalidOperationException

ValidFrom is null -or- Expires is null -or- DesiredTolerance is null -or- ValidFrom is greater than Expires.