/// <summary> /// Constructor /// </summary> /// <param name="options">Options to validate then token when presents</param> /// <param name="forceAuthentication">Indicates whether or not the token must be present to process the request</param> public JwtBasedSecurityMessageHandler( JwtValidationOptions options, bool forceAuthentication = false) { options.NotNull(nameof(options)); Options = options; ForceAuthentication = forceAuthentication; }